get_dist_parms {traitstrap}R Documentation

Get distribution parameters

Description

Internal helper function for calculating parametric distribution parameters.

Usage

get_dist_parms(data, distribution_type)

Arguments

data

Numeric vector

distribution_type

Character. One of either "normal", "lognormal", or "beta"

Note

This function will first try fitting using mme, then mle


[Package traitstrap version 0.1.0 Index]