Affords ANOVAs to compare two or three lmerVAR models. It is necessary to supply at least two different models for comparison, although a third can also be supplied if desired.
compareVAR(m1, m2, m3 =NULL, anova =NULL, type ="tempMods")
Arguments
m1: Output from lmerVAR.
m2: Output from another run of lmerVAR. Necessary to supp
m3: Output from a third run of lmerVAR. This is optional.
anova: If NULL, then the results of each nodewise comparison will be displayed. If numeric, then this indicates which nodewise comparison to home in on. anova = 1 will show the full ANOVA results for the first predictor. anova = 2 will show the full ANOVA results for the second predictor, etc.
type: Character string. Either "tempMods" or "contempMods". Determines whether to compare the temporal network outputs or the contemporaneous network outputs with ANOVA.
Returns
Table of ANOVA results comparing two or three models.
Details
Performs individual nodewise model comparisons across multiple lmerVAR models.