View source: R/meanexp.quantile.R
meanexp.quantile | R Documentation |
Estimates the parameter of an exponentially distributed 'X' based on the quantile of values. F(x) = 1 - exp(-x/beta) = p => betahat = quantile(x,p) / log(1/(1-p)). Arrays up to 3 dimensions are accepted.
meanexp.quantile(x, prob = 0.5, type = 6, MARGIN = NULL)
x |
is the data. |
prob |
is the probability. |
type |
is the type of the quantile calculation (see quantile()). |
MARGIN |
is used in the same way as in apply(). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.