[R] variance?,...

Bill Simpson wsi at gcal.ac.uk
Tue Nov 23 16:21:37 CET 1999


> 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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list