Description Usage Arguments Details Value Author(s)
Covert data organized by row (one observation per row) to a matrix where each unique group combination is summarized by the sum of its observations
1 | tidy2mat(g1, g2, obs)
|
g1 |
grouping factor 1 |
g2 |
grouping factor 2 |
obs |
the observed values to sum |
See description
Numeric matrix with each cell the sum of observations belonging to g1 = i and g2 = j
Andy Rominger <ajrominger@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.