Description Usage Arguments Value Examples
This function returns a matrix of component variables, X. The user can specify the desired chemicals and order by creating a list of string vectors, each vector containing the variable names of all desired elements of that group.
1 |
df |
A dataframe containing named component variables |
num.groups |
An integer representing the number of component groups desired |
groups |
A list, each item in the list being a string vector of variable names for one component group |
A matrix of component variables
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.