[R] create a normal distribution table

jeff6868 geoffrey_klein at etu.u-bourgogne.fr
Tue Aug 28 15:26:32 CEST 2012


Hello,

You can try this:

x=seq(-3,0,length=30)
y=1/sqrt(2*pi)*exp(-x^2/2)
plot(x,y,type="l",lwd=2,col="red")

with:
x: your vector between -3 and 0 (you can choose the length of your vector)
y: the probability density function for the standard normal distribution
formula




--
View this message in context: http://r.789695.n4.nabble.com/create-a-normal-distribution-table-tp4641558p4641561.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list