View source: R/derive_vars_dt_dtm_utils.R
assert_date_imputation | R Documentation |
date_imputation
Applies assertions on the date_imputation
argument to reduce
cyclomatic complexity
assert_date_imputation(date_imputation, highest_imputation)
date_imputation |
The value to impute the day/month when a datepart is missing.
|
highest_imputation |
Highest imputation level
|
Asserts that date_imputation is a scalar.
Asserts that the values in date_imputation
are permitted.
The permitted values in date_imputation
vary by highest_imputation
asserted date_imputation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.