snip_dataframe: Snip dataframe

Description Usage Arguments Value Examples

View source: R/helper_funs.R

Description

Snip_dataframe cuts the input dataframe based on MED_START before and after the cut point, cut_date

Usage

1
snip_dataframe(df, cut_date)

Arguments

df

a dataframe with MED_START column.

cut_date

a date

Value

a list of dataframe with after and before dataframe.

Examples

1
2
3
4
## Not run: 
snip_dataframe(df = test_tmp_data, cut_date = as.Date("2019-01-03"))

## End(Not run)

sutsabs/rwLoT documentation built on Feb. 11, 2022, 12:20 a.m.