time_deci2period | R Documentation |
Turn strings in class hms into periods of time.
time_deci2period(x, unit = "hour", type = "hm")
x |
string of class lubridate::hms "HH:MM:SS" |
unit |
unit to convert to |
type |
hms or hm |
Period
time_deci2period(8.5)
time_deci2period(1.25, "minute")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.