Learn R Programming

MAPLES (version 1.0)

tabm: Print regression estimates for previously fitted linear and logit regression models.

Description

For linear regression models, it prints some basic information about the model estimates ( Beta, pvalues, AIC, adjusted R square); for logit models, it also prints exp(Beta).

Usage

tabm(mod, pvalues = TRUE, digits = 3)

Arguments

mod
is an oject of class 'lm' or 'glm'.
pvalues
if TRUE pvalues will be printed out.
digits
specifies the number of digits in the output.

See Also

summary.lm, summary.glm,

Examples

Run this code
chi<-ifelse(!is.na(demogr$dch1),1,0)
logit.mod<- glm(chi ~ demogr$sex + demogr$edu, 
                family=binomial(link = "logit"))
tabm(logit.mod)
# for more details
summary(logit.mod)

Run the code above in your browser using DataLab