A simple normal-curve question
helin_susam wrote:
x <- rnorm(100) y <- rlnorm(100) model <- lm(y~x) a <- resid(model) How I show the all area under the normal curve?
First, always try plot(model). It can never hurt. Too bad the plot you want is not among the six contenders (?plot.lm). To do it manually: plot(density(a)) Dieter -- View this message in context: http://r.789695.n4.nabble.com/A-simple-normal-curve-question-tp3453283p3453703.html Sent from the R help mailing list archive at Nabble.com.