distribution_handler: Get different distributions

View source: R/distribution_handler.R

distribution_handlerR 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.


richardjtelford/traitstrap documentation built on July 3, 2024, 1:46 a.m.