anova.gamlj | R Documentation |
This is a convenience function to extract the ANOVA table (omnibus tests) from a GAMLj model. If no option is passed, extracts the ANOVA tests table already in the model results (if any). If two GAMLj models are provided, a model comparison is produces. Any option accepted by gamlj model can be passed. are returned.
## S3 method for class 'gamlj'
anova(object, object2, ...)
object |
a gamlj results object of the class 'gamlj' |
object2 |
a gamlj results object of the class 'gamlj' representing the nested model. Overiddes |
... |
all options accepted by a gamlj model function. |
a list of tables of class 'ResultsElement'
Marcello Gallucci
data(fivegroups)
fivegroups$Group<-factor(fivegroups$Group)
gmod<-GAMLj3::gamlj_lm(
formula = Score ~Group,
data = fivegroups)
anova(gmod)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.