[R] (no subject)
David Freedman
3.14david at gmail.com
Sat Sep 12 23:49:00 CEST 2009
A better subject for your question might have been helpful. There are many
options for hist and truehist in the MASS package, but this might help:
x=rnorm(100, mean=50000, sd=3000)
hist(x, prob=T)
x2=density(x)
lines(x2$x,x2$y)
KABELI MEFANE wrote:
>
> Dear All
>
> I hope you can help me with this small problem. I want to draw a normal
> distribution line to this data:
> p<-rnorm(100, mean=50000, sd=3000)
> hist(p)
>
> Kabeli
>
>
>
> [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context: http://www.nabble.com/%28no-subject%29-tp25418417p25418513.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list