[R] Combining Density plots

2007-11-06 Thread Monica Pisica
Hi, you may want to look at Macdonald P (2006) Mixdist package for R www.math.mcmaster.ca/peter/mix/mix.html It also has an anova test for your model so you would know if your "possible sub-populations" are statistically significant of not. I don't know why actually this package is not pos

[R] Combining Density plots

2007-11-05 Thread Gareth Campbell
Hello, What I am trying to do is: Generate a density plot of a population of data. This data has a bimodal distribution so I've isolated a couple of possible sub-populations and I want to overlay these two density plots over the first to see whether they are contributing to the bimodal populatio