distribution_handler {traitstrap} | R Documentation |
Get different distributions
Description
Internal helper function for drawing traits
Usage
distribution_handler(parm1, parm2, n = 1, type)
Arguments
parm1 |
the first parameter in a fitted distribution |
parm2 |
the second parameter in a fitted distribution |
n |
Number of draws. Defaults to 1 |
type |
Distribution type to fit. One of "normal", "lognormal", or "beta" |
Value
numeric vector of length n
from required distribution.
[Package traitstrap version 0.1.0 Index]