| fitUserDefinedDist-class {optimalThreshold} | R Documentation |
An S4 class to fit a user-defined distribution on a vector of marker values.
Description
This class allows to fit a user-defined distribution on the marker values x.
Details
This class is automatically created when the user applies the fit function with the argument distr="user". You never have to create manually this class, it is created internally.
Slots
xThis slot takes in argument the marker values. Numeric argument.
nLength of x vector (including NA values). Numeric argument.
paraNamesThis slot is a character vector of distribution parameter names.
mcmcListThis slot is an mcmc.list object summing up all the sampled parameters of the user-defined distribution.
cdfThis slot is a function that describes the cumulative distribution function of the user-defined distribution.
gradientThis slot is a function that describes the probability density function of the user-defined distribution.
hessianThis slot is a function that describes the fisrt derivative of the probability density function of the user-defined distribution.
mcmcThis slot allows the main function to k,now whether an MCMC algorithm must be performed to sample the distribution parameters from their posterior distribution.
See Also
fit for more details on how to fit a user-defined distribution.