nc.get.time.multiplier | R Documentation |
Gets conversion factor for time scale given units.
nc.get.time.multiplier(x)
x |
The time scale |
This function returns a conversion factor from the supplied time scale (days, hours, minutes, months) to seconds. This can be used to convert to/from "(days or hours) since X" style dates.
A numeric conversion factor to convert to seconds.
The conversion factor for months is approximate.
## Will return 3600
mul <- nc.get.time.multiplier("hours")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.