ch.getGrpIndex | R Documentation |
This function creates a dataframe that contains the the factorial combination of grouping columns.
ch.getGrpIndex(data, grpCols)
data |
the dataframe containing the grouped data. |
grpCols |
a vector of strings specifying the column names of the grouping variables. |
a dataframe with the factorial combination of groups in data
ch.getGrpIndex (myDataframe, c("gender", "condition"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.