Description Usage Arguments Examples
View source: R/sample_group_levels.R
Say what this function does in greater detail if that helps.
1  | sample_group_levels(data, group, n = 1)
 | 
data | 
 is the data  | 
group | 
 is a variable you want to sample levels from  | 
n | 
 is the number of levels you want to sample  | 
1  | sample_group_levels(mtcars, group = cyl, n = 2)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.