chk_ge_break_min_date: Check that dates are greater than or equal to 'break_min'

Description Usage Arguments See Also Examples

View source: R/chk-composite.R

Description

Check that dates are greater than or equal to 'break_min'

Usage

1
2
3

Arguments

date

Date on which event occurred or measurement made. Object of class Date.

break_min

Date or NULL. If non-NULL, lowest permissible value for date.

See Also

chk_ge_break_min_age, chk_lt_break_max_age chk_lt_break_max_date

Examples

1
2
3
4
date <- as.Date(c("2020-03-17", "2020-03-18"))
break_min <- as.Date("2020-01-01")
chk_ge_break_min_date(date = date,
                      break_min = break_min)

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.