View source: R/polya_helper_functions.R
subsample_table | R Documentation |
Uses base subsetting and sample or dplyr sample_n or sample_frac to get the subset of the bigger data.frame or tibble
subsample_table(input_table, groupingFactor = NA, subsample = NA)
input_table |
input table for subsampling |
groupingFactor |
grouping factor(s) |
subsample |
specify absolute number of rows or fraction to subsample from the data frame (group-wise) |
tibble
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.