ch.extractDFbyGroups | R Documentation |
This function extracts a specific dataframe the list of dataframes that is returned from the function ch.subsetDFbyGroups(). To identify the dataframe to be extracted, you create a one line dataframe that contains only the grouping variables used as an argument in ch.subsetDFbyGroups(). However, the first (and only) row should contain the value of each grouping variable that you want the dataframe to contain. For example, grpSubsetCond <- data.frame(gender = "Female", condition = "math").
ch.extractDFbyGroups(subsettedDFlist, grpSubsetCond)
subsettedDFlist |
the list of subsetted dataframes returned by ch.subsetDFbyGroups(). |
grpCols |
a single rowed dataframe that contains only the grouping variables used as an argument in ch.subsetDFbyGroups(). The first (and only) row should contain the value of each grouping variable that you want the dataframe to contain. For example, grpSubsetCond <- data.frame(gender = "Female", condition = "math"). |
a dataframe that is identified by grpSubsetCond
ch.subsetDFbyGroups (outList, data.frame(gender = "Female", condition = "math"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.