set_datetime_cols: Set DateTime Columns

Description Usage Arguments

View source: R/benvo.R

Description

When exposure time and lag exposure time need to be calculated the measurement date, and start/stop date columns can be provided to the benvo and base_benvo functions as optional arguments. Note that these columns will be converted to Date objects if they're not already.

Usage

1
2
3
4
5
set_datetime_cols(
  measurement_date = NULL,
  start_date_col = NULL,
  stop_date_col = NULL
)

Arguments

measurement_date

column string for the date at which a subject was measured

start_date_col

column string for the date at which a subject/bef moved to their corresponding location

stop_date_col

column string for the date at which a subject/bef stopped having exposure at the corresponding location.


rbenvo documentation built on Nov. 18, 2020, 5:07 p.m.