Hi Suzanna,
See to code below for an example from a normal density:
x <- seq(-4,4,.01)
#solid line for first density
plot(x, dnorm(x,0,1), type="l")
#dashed for second
lines(x, dnorm(x,.5,1), lty=2)
Best,
Ian
On Fri, 28 Apr 2006, Suzanna Chapman wrote:
does anyone have code for ploting 2 probability densities on one plot?
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l