Performs a multivariate Shapiro-Wilk test on numeric variables per level of a factor.
Usage
byf.mshapiro(formula, data)
Arguments
formula
a formula of the form a ~ b where a is a matrix giving the dependent variables (each column giving a variable) and b a factor giving the corresponding groups.
data
an optional data frame containing the variables in the formula formula. By default the variables are taken from environment(formula).