Description Usage Arguments Value References See Also Examples

View source: R/hotelling.test.R

Tests multivariate differences between two samples with Hotelling's T2 Test

1 | ```
hotelling.test(matx, maty)
``` |

`matx` |
First sample (matrix with observations as lines and variables as columns) |

`maty` |
Second sample (matrix with observations as lines and variables as columns) |

Returns a list containing the stat and the p-value

Hotelling, H. (1931). "The generalization of Student's ratio." Annals of Mathematical Statistics 2. (3): 360 378

difftable,sri.test

1 2 3 | ```
A=matrix(rnorm(13.15),13,15)
B=matrix(rnorm(13.15),13,15)
hotelling.test(A,B)
``` |

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.