cross_anova_models: A function to help selecting the best model fitting according...

Description Usage Arguments

Description

This function takes as input a list of models and returns a matrix containg all the models and showing the Chisquare difference between all models. The calculation is based on the anova() function, here simply performed for each model against each model

Usage

1

Arguments

models

A list of lmer or glmer models under the form list(M1 = m1, M2 = m2, ..., Mn = mn). it is also possible to enter the data without names: c(m1, m2, m3) but this way of doing might be confusing when having many models.


EricMenetre/NPL documentation built on June 23, 2021, 2:10 p.m.