Skip to content
Prev 261659 / 398502 Next

based on mean and std

You could try:

f <- function(x){pnorm(x,mean=10,sd=20)}
curve(f,from=-10,to=30)

Or:

x <- seq(-10,30,len=101)
y <- pnorm(x,mean=10,sd=20)
plot(x,y,type="l")