View source: R/convert_numeric_to_date.R
convert_numeric_to_date | R Documentation |
Convert numeric to date
convert_numeric_to_date(data, target_columns, ref_date, forward = TRUE)
data |
The input |
target_columns |
A |
ref_date |
A |
forward |
A |
A <data.frame>
or <linelist>
where the column of
interest are updated
data <- readRDS(system.file("extdata", "test_df1.RDS", package = "cleanepi"))
data <- convert_numeric_to_date(
data = data,
target_columns = "recruited_on_day",
ref_date = as.Date("2022-10-13"),
forward = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.