extract.coef.glm | R Documentation |
Extract Coefficient Information from glm Models
## S3 method for class 'glm' extract.coef(model, ...)
model |
Model object to extract information from. |
... |
Further arguments |
Gets the coefficient values and standard errors, and variable names from a glm model.
A data.frame
containing the coefficient, the standard
error and the variable name.
Jared P. Lander
## Not run: library(ggplot2) data(diamonds) library(coefplot) mod2 <- glm(price > 10000 ~ carat + cut + x, data=diamonds, family=binomial(link="logit")) extract.coef(mod2) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.