check_exposure.Rd
Add time (in seconds since tagon and perhaps as datetimes in UTC and/or local timezone) to a tibble or data-frame with regularly sampled data
check_exposure(x, start_x, rl_data)
input data: vector or data frame with event times in seconds since tagon.
name (no quotes needed) of variable in x
that gives event times. Not needed if x
is a vector or has only one column.
dataset with RL data (output of extract_rls
)
A data.frame with the data and additional columns exposure_EventID (the ID number of the exposure event(s) during which this timestamp falls) and event_type (the type(s) of exposure events that were going on at this timestamp)