Description Usage Arguments Value See Also Examples
Built a table crossing modalities of a trestmanet variable about multivariate differences
1 |
mat |
the matrix must have one column named as trt, and |
vep |
when vep is not NULL, a preliminary operation multiplies mat [,var.col] by the vep matrix (useful to do the test only on the first principal components of mat). |
axes |
vep can contain all eigenvectors. If it is the case, axes allows the user to select only some eigenvectors (1:2 for the first two eigenvectors, 1:5 for the first five eigenvectors...) |
var.col |
indicates the number of columns of the numerical variables. If NULL, all columns but trt are selected. |
trt |
name of the column |
test |
"hotelling" or "sri". Indicates the type of test to detect multivariate differences. "hotelling" is the usual hotelling T2 test whereas "sri" corresponds to the Srivastava's Test, allowing a test of differences even if there is more variables than observations. |
A table containing the p-values is returned.
hotelling.test, sri.test
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.