date_trim_outliers {cleanepi} | R Documentation |
Trim dates outside of the defined timeframe
Description
Trim dates outside of the defined timeframe
Usage
date_trim_outliers(new_dates, dmin, dmax, cols, original_dates)
Arguments
new_dates |
A |
dmin |
A |
dmax |
A |
cols |
A |
original_dates |
A |
Value
A <list>
of 2 elements: the update input vector where date
values that are out of the specified timeframe are replaced by NA
,
and a vector of the out of timeframe values.
[Package cleanepi version 1.1.1 Index]