Description Usage Arguments Details Value
View source: R/averaging_matrix.R
Let X be a data matrix (n_features by n_obs), in which each column j is a pattern vector for observation j, which belongs to class g. Applying the averaging matrix A to X computes the class-mean matrix, X_bar (n_features by n_classes), in which each column is the mean pattern for class g.
1 |
conditions |
character vector of length n_obs that indicates the condition or class to which each observation belongs. |
NB: this function calls indicator()
, which alphabetically sorts the columns of the output.
matrix X_bar (n_features by n_classes)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.