I have a data frame with 3 columns of aggregated data: CreditScore, Count, Month.
So one row with 550, 3, 3 would mean there were 3 people with 550 credit score in march.
I'm trying to create density plots that overlay to compare the differences in credit distributions between two months.
I feel like this should be really simple but can't find anything on google.
Trying to do this in R.
Any suggestions are appreciated.
Data example:
structure(list(CrScore = c(0L, 2L, 3L, 530L, 535L, 544L, 549L,
551L, 554L, 558L, 560L, 561L, 563L, 565L, 567L, 568L, 569L, 577L,
579L, 580L), Count.of.MFSAccount = c(2L, 9L, 2L, 1L, 1L, 1L,
1L, 1L, 1L, 2L, 1L, 1L, 3L, 1L, 1L, 2L, 1L, 2L, 1L, 1L), EnterDate.Month = structure(c(17136,
17136, 17136, 17136, 17136, 17136, 17136, 17136, 17136, 17136,
17136, 17136, 17136, 17136, 17136, 17136, 17136, 17136, 17136,
17136), class = "Date")), .Names = c("CrScore", "Count.of.MFSAccount",
"EnterDate.Month"), row.names = c(10L, 28L, 42L, 80L, 113L, 174L,
212L, 231L, 259L, 299L, 320L, 331L, 359L, 382L, 409L, 421L, 432L,
540L, 573L, 593L), class = "data.frame")