Description Usage Arguments Value Examples
The function distr2name() converts abbreviated
distribution names to proper distribution names
(e.g. "norm" becomes "Gaussian").
The function name2distr() does the reciprocal operation.
1 2 3 | distr2name(x)
name2distr(x)
|
x |
character. A vector of abbreviated distribution names or proper distribution names. |
A character vector of the same length as x.
Elements of x that are not recognized are kept unchanged
(yet in lowercase).
1 2 | distr2name(c("norm", "dnorm", "rhyper", "ppois"))
name2distr(c("Cauchy", "Gaussian", "Generalized Extreme Value"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.