| getsubsets | R Documentation | 
Sample a number of samples by factor levels
getsubsets(f, n = 100, sel = NULL, verbose = FALSE)
f | 
 a factor  | 
n | 
 sample size. If n < 1, then n will be treated as fraction rather than number  | 
sel | 
 which factor levels to choose from. Default: NULL, meaning every factor level  | 
Sample a number of samples by factor levels.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.