Fit linear models with multivariate outcomes (i.e., MANOVA and multivariate multiple regression) with analytic p-values.
The most recent version can be installed from github using the devtools package:
devtools::install_github("dmcartor/mvlm", build_vignettes = TRUE)
library(MVLM)
or directly from CRAN:
install.packages(MVLM)
library(MVLM)
For a complete illustration of the package, see the package vignette by running the following line in the R console:
vignette('mvlm-vignette')
data(mvlmdata)
Y <- as.matrix(Y.mvlm)
# Main effects model
mvlm.res <- mvlm(Y ~ Cont + Cat + Ord, data = X.mvlm)
summary(mvlm.res)
# Include two-way interactions
mvlm.res.int <- mvlm(Y ~ .^2, data = X.mvlm)
summary(mvlm.res.int)