sample_flow: Create table illustrating sample exclusions

View source: R/sample_flow.R

sample_flowR Documentation

Create table illustrating sample exclusions

Description

Generate a table illustrating sequential exclusion from an analytical sample due to user specified exclusions.

Usage

sample_flow(df, exclusions = c())

Arguments

df

A data.frame or tibble.

exclusions

Character vector of logical conditions indicating which rows should be excluded from the final sample. Exclusions occur in the order specified.

Value

A data.frame with columns Exclusion, 'Sequential Excluded', and 'Total Excluded' for display.


craigjmcgowan/helpR documentation built on Jan. 14, 2025, 5:25 a.m.