sample_group | R Documentation |
This function will return a dataframe of the grouping variable from the input nested dataframe.
sample_group(nest_df, index)
nest_df |
The nested dataframe to be sampled from. The right-most column must be a dataframe type with name 'data'. |
index |
Optional. The index of the dataframe to be sampled from. If no index is provided, a random subset will be returned. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.