View source: R/get_crash_times.R
convert_time_to_hms | R Documentation |
Adds a column that formats time to hour:minute
convert_time_to_hms(dataframe, crshtime = "CRSHTIME", colname = "crsh_time")
dataframe |
a dataframe |
crshtime |
column of time to convert from character to hsm, CRSHTIME |
colname |
name of new column, i.e. "crsh_time" |
A new column called crsh_time in format "01:01"
## Not run: convert_time_to_hms(crash)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.