Skip to content
Prev 59046 / 398502 Next

how can draw probability density plot?

Dear support,

I want to draw a probability density plot in R. For example, I provide the mean and variance of a normal distribution, then R can provide me the probability density plot. Now I always generate random numbers of normal distribution and calculate their dnorm(mu, var), finally plot them. I am eager to know some directly operation.

Thank you for your attention.

I am looking forward to hearing from you soon. 

 

Best regards,

Long Yu