sample_flow {describedata}R 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.


[Package describedata version 0.1.0 Index]