Description Usage Arguments Value Author(s)
View source: R/check_variances.R
This function tests for the homogeneity of the residuals across groups. It performs one Bartlett's test for each dependent variable. P-values are corrected.
1 | check_variances(specdata, vars, method = "bonferroni")
|
specdata |
A data frame containing at least columns for the dependent variables, as well as a column "island" and a column "habitat". |
vars |
A character or integer vector. The names, or indices, of the dependent variables in |
method |
A character, the method used for P-value correction. See |
A data frame with Bartlett's K^2 statistic, the degrees of freedom of the approximate chi-squares distribution, P-value and adjusted P-value, for each dependent variable.
Raphael Scherrer
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.