matrixGroup | R Documentation |
merge column values according group information.
matrixGroup(matrix, groupInfo, method = "mean")
matrix |
input dataframe |
groupInfo |
group dataframe, with two column : ID,Group |
method |
grouping method , "mean", 'median', 'sum' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.