Cant believe it was that
--
View this message in context:
http://r.789695.n4.nabble.com/Superimpose-exponential-density-function-to-histogram-tp4666468p4666480.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mai
Hello,
Try
curve(dexp(x, rate=lambda), add=TRUE)
Hope this helps,
Rui Barradas
Em 07-05-2013 14:18, Manta escreveu:
Dear all,
I have a large vector of durations (in seconds) and I create an histogram as
follows:
hist(durations,breaks=500,xlim=c(0,2000),main="",xlab="Duration
(Seconds)",yla
Dear all,
I have a large vector of durations (in seconds) and I create an histogram as
follows:
hist(durations,breaks=500,xlim=c(0,2000),main="",xlab="Duration
(Seconds)",ylab="Frequency (%)",prob=TRUE)
Next, I would like to superimpose the exponential distribution with the
maximum likelihood es
3 matches
Mail list logo