boxM: Box's M-test

Description Usage Arguments Examples

View source: R/boxM.R

Description

Box's M-test

Usage

1
2
boxM(Y, group, tol = 1e-10, fxn = cor, method = c("pearson",
  "kendall", "spearman"))

Arguments

Y

response matrix

group

factor defining groups

tol

tolerance for eigen values

fxn

define function. Here default is cor to compare correlation structure. Use cov to compare covariance structure like in heplots::boxM

method

specify which correlation method: "pearson", "kendall" or "spearman"

Examples

1
2
3
data(iris)

boxM( iris[,1:4], iris[,5])

GabrielHoffman/decorate documentation built on Sept. 17, 2019, 10:45 a.m.