View source: R/date_standardization_helpers.R
date_trim_outliers | R Documentation |
Trim dates outside of the defined boundaries
date_trim_outliers(new_dates, dmin, dmax, cols, original_dates)
new_dates |
A vector of the new date values |
dmin |
A minimum date |
dmax |
A maximum date |
cols |
The name of the date column of interest |
original_dates |
A vector of the original date values |
A list of 2 elements: the update input vector where date values that
are out of the boundaries are replaced by NA
, and a vector of the out of
boundaries values.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.