This function extends `leveneTest`

to a multivariate
response setting. It performs the Levene test of homogeneity of
variances for each of a set of response variables, and prints a
compact summary.

1 | ```
leveneTests(y, group, center = median, ...)
``` |

`y` |
A data frame or matrix of numeric response variables in a multivariate linear model. |

`group` |
a vector or factor object giving the group for the corresponding elements of the rows of |

`center` |
The name of a function to compute the center of each group; |

`...` |
other arguments, passed to |

An object of classes "anova" and "data.frame", with one observation for each
response variable in `y`

.

Michael Friendly

Levene, H. (1960).
Robust Tests for Equality of Variances.
In Olkin, I. *etal.* (Eds.),
*Contributions to Probability and Statistics: Essays in Honor of Harold Hotelling*,
Stanford University Press, 278-292.

Brown, M. B. & Forsythe, A. B. (1974).
Robust Tests For Equality Of Variances
*Journal of the American Statistical Association*, **69**, 364-367.

1 2 3 4 5 6 7 | ```
leveneTests(iris[,1:4], iris$Species)
# handle a 1-column response?
leveneTests(iris[,1, drop=FALSE], iris$Species)
data(Skulls, package="heplots")
leveneTests(Skulls[,-1], Skulls$epoch)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.