convert2seconds | R Documentation |
Converts time measurements into seconds
convert2seconds(T, input = "minutes", origin = "day")
T |
The time value to convert |
input |
The unit of time to convert, allowed values are "minutes", "hours", "days", "years", "HHMM". |
origin |
For POSIX whether to return relative to start of day ("day") or Unix epoch ("unix") |
The numeric value in seconds
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.