modelparm.methods {BSagri} | R Documentation |
For internal use. Extract model parameters needed for multcomp from objects of class gamlss or geeglm.
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
## 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 |
coef. |
a function to extract fitted mean parameters from models of class |
vcov. |
a function to extract the estimated covariance matrix from models of class |
df |
a single positive integer, the user-defined degrees of freedom. By default, |
... |
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