sample_flow: Create table illustrating sample exclusions

Description Usage Arguments Value

View source: R/sample_flow.R

Description

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

Usage

1
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/describedata documentation built on Aug. 25, 2020, 10:45 a.m.