inst/snippet/gpa-mct1.R

# fit some models
#
gpa.lm <- lm(gpa~satm+satv+act,gpa)
gpa.lma <- lm(gpa~ -1 + satm+satv+act,gpa)
#
# model comparison tests for 5 p-values in summary(gpa.lm)
#
anova(gpa.lma,gpa.lm)

Try the fastR package in your browser

Any scripts or data that you put into this service are public.

fastR documentation built on May 2, 2019, 5:53 p.m.