subsample_table: Subsample a date frame

View source: R/polya_helper_functions.R

subsample_tableR Documentation

Subsample a date frame

Description

Uses base subsetting and sample or dplyr sample_n or sample_frac to get the subset of the bigger data.frame or tibble

Usage

subsample_table(input_table, groupingFactor = NA, subsample = NA)

Arguments

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)

Value

tibble


smaegol/nanotail documentation built on June 29, 2024, 12:35 a.m.