compareVAR {modnets} | R Documentation |
Compare two to three lmerVAR
models
Description
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.
Usage
compareVAR(m1, m2, m3 = NULL, anova = NULL, type = "tempMods")
Arguments
m1 |
Output from |
m2 |
Output from another run of |
m3 |
Output from a third run of |
anova |
If |
type |
Character string. Either |
Details
Performs individual nodewise model comparisons across multiple
lmerVAR
models.
Value
Table of ANOVA results comparing two or three models.
See Also
Examples
fit1 <- lmerVAR(mlgvarDat, temporal = "fixed", contemp = "orthogonal")
fit2 <- lmerVAR(mlgvarDat, temporal = "orthogonal", contemp = "orthogonal")
compareVAR(fit1, fit2)