Used internally in the workhorse functions for arrayAnova, arrayTtest, etc. to set the dimension, dimension names and nice label of the given test statistic
1 | setattributes(x, obj = NULL, label = NULL, dimorder = NULL)
|
x |
the vector or matrix of the test statistic |
obj |
if not NULL (default), a list object returned by
|
label |
if not NULL (default), a character string with a verbose description of the test statistic (e.g. "Traditional F-value", "Welch t", "Generalized Eta Squared", etc.) |
dimorder |
if not NULL (default), a numeric or character vector indicating the order (or subset) of the dimensions |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.