Learn R Programming

gtx (version 0.0.8)

coeff.extract: Coefficient extractor for fitted models.

Description

Tool to extract coefficients and standard errors from different fitted model objects, and return them in a standard format.

Usage

coeff.extract(object)

Arguments

object
a fitted model object of class lm, glm, or coxph.

Details

coeff.extract detects the class of object and handles it appropriately to extract a two column data frame with columns “Estimate” and “Std Error”.

This function is useful because there does not seem to otherwise be a uniform interface to all these classes.