Implementation of standard equations used to calculate mean and sd for a variety of
named distributions different
Arguments
- distn
named distribution, one of 'beta', 'exp', 'f', 'gamma', 'lnorm', 'norm', 't',
- a
numeric; first parameter of distn
- b
numeric; second parameter of distn
Value
vector with mean and standard deviation
Examples
distn.stats('norm', 0, 1)
#> [1] 0 1