check_time_interval | R Documentation |
Checks if it is a time interval or creates one from an integer and a unit
check_time_interval(interval, units = "secs")
interval |
character value, (not numeric to allow sub-microsecond precision) - can reach nanosecond precision by using for example 3.000000008 |
units |
charact, for now only "secs" supported, in future also , "mins", "hours", "days", "weeks" |
check_time_interval
a "nanotime::nanoduration" object
# check_time_interval
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.