to: to

Description Usage Arguments

View source: R/from_to.R

Description

to

Usage

1
2
3
4
5
6
to(
  model,
  date,
  date_format_func = (function(x) lubridate::parse_date_time(x, date_format_reg)),
  date_format_reg = "ymd-HMS"
)

Arguments

model

A Analysr model instance.

date

A date object or a string to be converted as a date.

date_format_func

A function to format date with (not required). Default: lubridate::parse_date_time(x, date_format_reg)

date_format_reg

A expression to format date with (not required). Default: "ymd-HMS"


analysr/analysr documentation built on Feb. 13, 2022, 11:22 a.m.