coef.lmfm {robust}R Documentation

Extract Model Coefficients

Description

Extract the model coefficients from an lmfm object.

Usage

## S3 method for class 'lmfm':
coef(object, ...)

Arguments

object an lmfm object.
... additional arguments required by the generic coef function.

Value

a numeric matrix with one row for each model in object and one column for each coefficient in the model.

Examples

data(stack.dat)
stack.fm <- fit.models(list(Robust = "lmRob", LS = "lm"), Loss ~ ., data = stack.dat)
coef(stack.fm)

[Package robust version 0.3-4 Index]