Thank you Sir
 
I have been trying to come up with the code for 6 hours thats why i ended up forgetting the title.
 
Kabeli

--- On Sat, 12/9/09, David Freedman <3.14david@gmail.com> wrote:


From: David Freedman <3.14david@gmail.com>
Subject: Re: [R] (no subject)
To: r-help@r-project.org
Date: Saturday, 12 September, 2009, 10:49 PM



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@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.

______________________________________________
R-help@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.



      
	[[alternative HTML version deleted]]


