methods.glmRob {robust} | R Documentation |
Accessor methods for the coefficients, deviance, formula, labels, model frame, model matrix, residuals, and weights in an lmRob
object.
## S3 method for class 'glmRob': coef(object, ...) ## S3 method for class 'glmRob': family(object, ...) ## S3 method for class 'glmRob': labels(object, ...) ## S3 method for class 'glmRob': model.frame(formula, ...) ## S3 method for class 'glmRob': model.matrix(object, ...) ## S3 method for class 'glmRob': residuals(object, type = c("deviance", "pearson", "working", "response"), ...)
formula |
an lmRob object. |
object |
an lmRob object. |
type |
a character string specifying the type of residuals which should be returned. |
... |
additional arguments required by the generic functions. |
A vector, matrix or formula containing the requested component of the glmRob object.
data(breslow.dat) bres.rob <- glmRob(sumY ~ Age10 + Base4 * Trt, family = poisson(), data = breslow.dat) coef(bres.rob) family(bres.rob) labels(bres.rob) model.frame(bres.rob) model.matrix(bres.rob) residuals(bres.rob)