[R] variance?,...

Bill Simpson
Tue, 23 Nov 1999 15:21:37 -0000

> And one more question: when I'm plotting density:
> plot(x, dnorm(x,as.double(mu),as.double(sigma_square)), style );
> on interval x I get relatively small number of probabilities.
> I've spent long time searching trough docs to find how
> to change it but didn't found it. So please tell me how.

x<-seq(-3,3,.1)
plot(x,dnorm(x,0,1), type="l")

Bill

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at
stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._