to.Rd
to
to(
model,
date,
date_format_func = (function(x) lubridate::parse_date_time(x, date_format_reg)),
date_format_reg = "ymd-HMS"
)
A Analysr model instance.
A date object or a string to be converted as a date.
A function to format date with (not required).
Default: lubridate::parse_date_time(x, date_format_reg)
A expression to format date with (not required).
Default: "ymd-HMS"