exp_est | R Documentation |
function to get the method of moment estimate of exponential distribution
exp_est(data, plot = TRUE, curvecol = "red", ...)
data |
An object of numeric vector. |
plot |
logical which controls whether the histogram of the data along with the density curve of the theoretical exponential distribution with the estimated parameters. |
curvecol |
color of the theoretical density curve |
... |
additional plotting parameters |
the estimated positive rate parameter by the method of moments of the data assuming the underlying distribution is exponential distribution
exp_est(rexp(1000,rate=0.1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.