homogeneityCovariances {covTestR} | R Documentation |
Test Wrapper for Homogeneity of Covariance Matrices
Description
Performs 2 and k sample homogeneity of covariance matrices test using test, 'covTest.'
Usage
homogeneityCovariances(x, ..., covTest = BoxesM)
Arguments
x |
data as a data frame, list of matrices, grouped data frame, or resample object |
... |
other options passed to covTest method |
covTest |
homogeneity of covariance matrices test method |
Details
The homogeneityCovariances
function is a wrapper function that formats the data
for the specific covTest
functions.
Value
A list with class "htest" containing the following components:
statistic | the value of homogeneity of covariance test statistic |
parameter | the degrees of freedom for the chi-squared statistic |
p.value | the p=value for the test |
estimate | the estimated covariances if less than 5 dimensions |
null.value | the specified hypothesized value of the covariance difference |
alternative | a character string describing the alternative hyposthesis |
method | a character string indicating what type of homogeneity of covariance test was performed |
data.name | a character string giving the names of the data |
See Also
Other Testing for Homogeneity of Covariance Matrices: Ahmad2017
Examples
homogeneityCovariances(iris, group = Species)
[Package covTestR version 0.1.4 Index]