extract.coef.rxGlm: extract.coef.rxGlm

View source: R/extractCoef.r

extract.coef.rxGlmR Documentation

extract.coef.rxGlm

Description

Extract Coefficient Information from rxGlm Models

Usage

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

Arguments

model

Model object to extract information from.

...

Further arguments

Details

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

Value

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

Author(s)

Jared P. Lander

Examples

## Not run: 
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)

## End(Not run)


coefplot documentation built on March 18, 2022, 7:58 p.m.