parameters2natural {TruncExpFam} | R Documentation |
Convert distribution parameters to natural parameters
Description
Convert distribution parameters to natural parameters
Usage
parameters2natural(parms, ...)
Arguments
parms |
A vector of parameters in a distribution distribution |
... |
other arguments passed to methods |
Value
A vector containing the natural parameters
See Also
Examples
# Poisson distribution
samp <- rtrunc(n = 100, lambda = 2, family = "Poisson")
parameters2natural(empiricalParameters(samp))
[Package TruncExpFam version 1.1.1 Index]