Learn R Programming

coefplot (version 1.2.9)

extract.coef.rxGlm: extract.coef.rxGlm

Description

Extract Coefficient Information from rxGlm Models

Usage

# S3 method for rxGlm
extract.coef(model, ...)

Value

A data.frame containing the coefficient, the standard error and the variable name.

Arguments

model

Model object to extract information from.

...

Further arguments

Author

Jared P. Lander

Details

Gets the coefficient values and standard errors, and variable names from an rxGlm model.

Examples

Run this code
if (FALSE) {
library(ggplot2)
data(diamonds)
mod4 <- rxGlm(price ~ carat + cut + x, data=diamonds)
mod5 <- rxGlm(price > 10000 ~ carat + cut + x, data=diamonds, fmaily="binomial")
extract.coef(mod4)
extract.coef(mod5)
}

Run the code above in your browser using DataLab