getQuantilesParams {binequality}R Documentation

A function to extract the quantiles and parameters

Description

This extracts the quantiles and parameters.

Usage

getQuantilesParams(fit.i, qFunc = qLOGNO, quantiles = seq(0.006, 
0.996, length.out = 1000), linksq = c(identity, exp, NULL, 
NULL), freeParams, fixedParams)

Arguments

fit.i

a (non-empty) object of class gamlss, which is the fitted distribution.

qFunc

a (non-empty) quantile generating function from gamlss.

quantiles

an optional numeric vector of the desired quantiles.

linksq

a (non-empty) vector is link functions.

freeParams

a (non-empty) logical vector inidicating whether parameters are fixed == FALSE or free == TRUE.

fixedParams

a (non-empty) numeric vector of fixed parameter values.

Details

Extracts the quantile and parameter estimates.

Value

Returns a list with: samps = the quantiles extracted at the locations specified in quantiles and params = the parameter values of the fitted model.

References

FIXME - references

Examples

#not run, this function is used internally

[Package binequality version 1.0.4 Index]