For internal use. Extract model parameters needed for multcomp from objects of class gamlss or geeglm.

Share:

Description

Only for internal use with glht in package multcomp. Extracts model parameters needed for glht(multcomp) from objects of class gamlss or geeglm.

Usage

1
2
3
4
## S3 method for class 'gamlss'
modelparm(model, coef.=coef, vcov.=vcov, df = NULL, ...)
## S3 method for class 'geeglm'
modelparm(model, coef.=coef, vcov.=vcov, df = NULL, ...)

Arguments

model

an object of class gamlss and geeglm, respectively

coef.

a function to extract fitted mean parameters from models of class gamlss and geeglm

vcov.

a function to extract the estimated covariance matrix from models of class gamlss and geeglm

df

a single positive integer, the user-defined degrees of freedom. By default, df=NULL, the funtion will extract the residual degrees of freedom from the model.

...

further argument, not used

Details

Test versions. Only for internal use. Further checks still need to be implemented.

Value

As modelparm.default in package multcomp, a list with elements

coef

a numeric vector with the estimated model parameters

vcov

a matrix with numeric entries, and dimensions as length(coef)

df

a single numeric value, the residual degree of freedom

estimable

a logical vector, specifying which rows/colums of vcov correspond to non-NA parameters

Author(s)

Daniel Gerhard, Frank Schaarschmidt adapting code by T.Hothorn available in modelparm.default, package multcomp

See Also

function glht in package multcomp

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.