2
votes

How can I use the curve function in R to draw a normal distribution curve by passing the mean and standard deviation? Not a standard normal curve, but by passing mu and sigma.

1

1 Answers

4
votes
curve({ dnorm(x, mean=1,sd=.5)}, -2,2)