Description Usage Arguments Value
View source: R/momentsToDistArgs.R
Returns a list of distribution parameters for R distribution calls.
1 | momentsToDistArgs(distr, moments)
|
distr |
character. A distribution R recognizes (currently only supports 'norm', 'gamma', 'poisson') |
moments |
a numeric vector, matrix, or data.frame with mean as column 1, variance as column 2, etc. Currently only first 2 moments are used. |
list of distribution parameters for R param calls.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.