marginal_distribution {Surrogate} | R Documentation |
Fit marginal distribution
Description
The marginal_distribution()
function is a wrapper for
fitdistrplus::fitdist()
that fits a univariate distribution to a data
vector.
Usage
marginal_distribution(x, distribution, fix.arg = NULL)
Arguments
x |
(numeric) data vector |
distribution |
Distributional family. One of the follwing:
|
fix.arg |
An optional named list giving the values of fixed parameters of the named distribution or a function of data computing (fixed) parameter values and returning a named list. Parameters with fixed value are thus NOT estimated by this maximum likelihood procedure. |
Value
Object of class fitdistrplus::fitdist
that represents the marginal
surrogate distribution.