Description Usage Arguments Value Examples
If the p variables of a data matrix of dimension (n,p) are separated into G groups, this functions splits this data matrix into G
datasets according the groups membership.
1 | splitgroups(data, groups, name.groups)
|
data |
the a data matrix into |
groups |
a vector of size |
name.groups |
a vector of size |
data.groups |
a list of G data matrix: one matrix for each group. |
listvar.groups |
The list of the variables in each group. |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.