MatrixCombn | R Documentation |
Create matrices from combinations of columns
MatrixCombn( matrix, first.stem, last.stem = NULL, q.levels, rm.last = TRUE, row.means = TRUE )
matrix |
matrix to combine |
first.stem |
first name of columns to use (e.g., "m" for mean) |
last.stem |
optional last name of columns to use (e.g., "p" for proportions) , Default: NONE |
q.levels |
number of levels per column |
rm.last |
logical, indicating whether or not to remove last combination (i.e., m1m2m3m4) , Default: TRUE |
row.means |
logical, indicating whether or not to compute row means from combined columns, else use row sums, Default: TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.