This function adds a time column to a data frame.
Examples
if (FALSE) { # \dontrun{
df <- data.frame(x = 1:5, y = letters[1:5])
add_time_col(df, "2022-01-01")
} # }
This function adds a time column to a data frame.
if (FALSE) { # \dontrun{
df <- data.frame(x = 1:5, y = letters[1:5])
add_time_col(df, "2022-01-01")
} # }