Skip to content
Prev 30849 / 398506 Next

superimposing graphs

You can use curve(), but you need to add the `add = TRUE' argument.  For
example,

library(MASS)
x <- rnorm(100)
truehist(x)
curve(dnorm, -3, 3, add = TRUE)


-roger
_______________________________
UCLA Department of Statistics
http://www.stat.ucla.edu/~rpeng
On Fri, 18 Apr 2003, Faheem Mitha wrote: