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

Description Usage Arguments Author(s) See Also Examples

View source: R/MAPLES.r

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

1
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.

Author(s)

Roberto Impicciatore [email protected]

See Also

summary.lm, summary.glm,

Examples

1
2
3
4
5
6
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)

MAPLES documentation built on May 30, 2017, 12:52 a.m.