boxM | R Documentation |

Box's M-test

```
boxM(
Y,
group,
tol = 1e-10,
fxn = cor,
method = c("pearson", "kendall", "spearman")
)
```

`Y` |
response matrix |

`group` |
factor defining groups |

`tol` |
tolerance for eigen values |

`fxn` |
define function. Here default is cor to compare correlation structure. Use cov to compare covariance structure like in heplots::boxM |

`method` |
specify which correlation method: "pearson", "kendall" or "spearman" |

```
data(iris)
boxM( iris[,1:4], iris[,5])
```

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.