uniStats function

Univariate Test Statistics for a Multivariate Linear Model

Univariate Test Statistics for a Multivariate Linear Model

uniStats(x, ...)

Arguments

  • x: A "mlm" object fitted by lm with two or more response variable3s
  • ...: Other arguments, ignored

Returns

An object of class c("anova", "data.frame") containing, for each response variable the overall R2R^2 for all terms in the model and the overall FF statistic together with its degrees of freedom and p-value.

Examples

iris.mod <- lm(cbind(Sepal.Length, Sepal.Width, Petal.Length, Petal.Width) ~ Species, data=iris) car::Anova(iris.mod) uniStats(iris.mod) data(Plastic, package = "heplots") plastic.mod <- lm(cbind(tear, gloss, opacity) ~ rate*additive, data=Plastic) # multivariate tests car::Anova(plastic.mod)

See Also

[glance.mlm()]