Re: [R] A simple normal-curve question

From: Dieter Menne <>
Date: Sat, 16 Apr 2011 00:58:52 -0700 (PDT)

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:



View this message in context:
Sent from the R help mailing list archive at

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Sat 16 Apr 2011 - 08:00:51 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 16 Apr 2011 - 08:40:31 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive