Learn R Programming

optimalThreshold (version 1.0)

fitGammaDist-class: An S4 class to fit a gamma distribution on a vector of marker values.

Description

This class allows to fit a gamma distribution on the marker values x.

Arguments

Slots

x

This slot takes in argument the marker values. Numeric argument.

n

Length of x vector (including NA values). Numeric argument.

ini

This slot is a list of initial values passed to the MCMC algorithm. List argument.

thin

This slot is a strictly positive integer value that specifies the 'thin' applied to the MCMC algorithm.

burnin

This slot is a positive integer value that specifies the length of the burnin period in the MCMC algorithm.

mcmc

This slot allows the main function to k,now whether an MCMC algorithm must be performed to sample the distribution parameters from their posterior distribution.

Details

This class is automatically created when the user applies the fit function with the argument distr="gamma". You never have to create manually this class, it is created internally.

See Also

fit for more details on how to fit a gamma distribution.