Description Usage Arguments Value See Also Examples

boxM performs the Box's (1949) M-test for homogeneity of covariance matrices obtained from multivariate normal data according to one or more classification factors. The test compares the product of the log determinants of the separate covariance matrices to the log determinant of the pooled covariance matrix, analogous to a likelihood ratio test. The test statistic uses a chi-square approximation. Uses permutations to estimate the degrees of freedom under the null

1 2 | ```
boxM_permute(Y, group, nperm = 200, method = c("pearson", "kendall",
"spearman"))
``` |

`Y` |
response variable matrix |

`group` |
a factor defining groups, number of entries must equal nrow(Y) |

`nperm` |
number of permutations of group variable used to estimate degrees of freedom under the null |

`method` |
Specify type of correlation: "pearson", "kendall", "spearman" |

list of p.value, test statistic, and df.approx estimated by permutation

heplots::boxM

1 2 3 |

GabrielHoffman/decorate documentation built on Aug. 8, 2019, 1:48 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.