extraction_functions {epiparameter} | R Documentation |
Function for extracting distribution parameters
Description
Set of functions that can be used to estimate the parameters of a distribution (lognormal, gamma, Weibull, normal) via optimisation from either the percentiles or the median and ranges.
Usage
.fit_range(param, val, dist = c("lnorm", "gamma", "weibull", "norm"))
.fit_percentiles(param, val, dist = c("lnorm", "gamma", "weibull", "norm"))
Arguments
param |
Named |
val |
|
dist |
A |
Author(s)
Adam Kucharski, Joshua W. Lambert
[Package epiparameter version 0.4.0 Index]