modelExtract.glm {psc} | R Documentation |
A generic function for extracting model information
Description
A generic function for extracting model information
Usage
## S3 method for class 'glm'
modelExtract(CFM)
Arguments
CFM |
a model of class 'glm' |
Details
A function for extracting the model information required for using pscfit
Value
a list of extracted model components. Included are
mod_class: The class of the model object
terms: The terms included in the model
cov_cls: The classes of the model covariates
cov_lev: The levels of categorical variables
cov_co: covariate coefficients
sig: variance-covariance matrix
form: model formula
family: model family
out.nm: outcome covariates names
[Package psc version 1.3.0 Index]