Description Usage Arguments Details Value Methods (by class) Author(s) See Also Examples
getFix
extracts coefficients, covariance matrix and degrees of
freedom from model objects. Its main purpose is to extract information need
by the wald
function. To extend the wald function to a new class of
objects, it is merely necessary to write a method for getFix
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | getFix(fit, ...)
## S3 method for class 'multinom'
getFix(fit, ...)
## S3 method for class 'lm'
getFix(fit, ...)
## S3 method for class 'glm'
getFix(fit, ...)
## S3 method for class 'lme'
getFix(fit, ...)
## S3 method for class 'gls'
getFix(fit, ...)
## S3 method for class 'lmer'
getFix(fit, ...)
## S3 method for class 'glmer'
getFix(fit, ...)
## S3 method for class 'mer'
getFix(fit, ...)
## S3 method for class 'zeroinfl'
getFix(fit, ...)
## S3 method for class 'mipo'
getFix(fit, ...)
## S3 method for class 'MCMCglmm'
getFix(fit, ...)
## Default S3 method:
getFix(fit, ...)
|
fit |
A fitted model object |
... |
Other arguments [unused] |
Extending the wald
function to a new class of objects only
requires a getFix
method for the new class.
Returns a list with the following components:
fixedFixed effect parameter estimates
vcovCovariance matrix of the parameters
dfdenominator degrees of freedom for each effect
multinom
: method for multinom objects in package nnet
lm
: method for lm objects
glm
: method for glm objects
lme
: method for lme objects in the nlme package
gls
: method for gls objects in the nlme package
lmer
: method for lmer objects in the lme4 package
glmer
: method for glmer objects in the lme4 package
mer
: method for mer objects in the lme4 package
zeroinfl
: method for zeroinfl objects in the pscl?? package
mipo
: method for mipo objects in the mice package
MCMCglmm
: method for MCMCglmm objects in the MCMCglmm package
default
: print message if getFix id used for a class for which a method has not been written
Georges Monette
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.