subset_by_date: subset_by_date

Description Usage Arguments Value

Description

subset_by_date

Usage

1
subset_by_date(df, col_name = "DischargeDate", start_date, end_date)

Arguments

df

the dataframe to be subsetted

col_name

the date column to be subsetted on

start_date

the start date for the subsetting

end_date

the end date for the subsetting

Value

a row subset of df, including all rows where col_name is between start_date and end_date (inclusive).


HorridTom/clahrcnwlhf documentation built on May 7, 2019, 4:02 a.m.