convert_to_datetime | R Documentation |
Convert variables to date-time
convert_to_datetime(data, vars, ord = NULL, names = NULL, tz = "")
data |
a dataframe with the variables to convert |
vars |
a character vector of column names to convert |
ord |
a character vector of date-time formats |
names |
a character vector of names for the created variables |
tz |
a time zone name (default: local time zone). See
|
original dataframe containing new columns of the converted variables with tidyverse code attached
Zhaoming Su
code
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.