Description Usage Arguments Value Author(s) Examples
View source: R/derive_date_vars.R
Derive the date imputation flag ('--DTF') comparing a date character vector
('--DTC') with a Date vector ('--DT').
1 | compute_dtf(dtc, dt)
|
dtc |
The date character vector ( A character date is expected in a format like |
dt |
The Date vector to compare. A date object is expected. |
The date imputation flag ('--DTF') (character value of 'D', 'M' , 'Y' or NA)
Samia Kabi
1 2 | compute_dtf(dtc = "2019-07", dt = as.Date("2019-07-18"))
compute_dtf(dtc = "2019", dt = as.Date("2019-07-18"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.