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 population.

I can do this fine with plot(density(...)) and lines(density(...)) .  But
the resulting plots seem to NOT share the same scale or something.  I've had
a read up on bandwidth and fiddled with this but I can't quite get them how
they should look.  Needless to say that the sub-populations are smaller (n)
than the overall population.

Does anyone know how to scale the populations so they all plot on the same
scale with the density function?

Thanks very much

-- 
Gareth Campbell
PhD Candidate
The University of Auckland

P    +649 815 3670
M    +6421 256 3511
E   gareth.campbell@esr.cri.nz
     gcam032@gmail.com

	[[alternative HTML version deleted]]

