getTimeUnit | R Documentation |
Function to read the "time.unit" attribute
getTimeUnit(x, force.duration = FALSE)
x |
a source_spct object |
force.duration |
logical If TRUE a lubridate::duration is returned even if the object attribute is a character string, if no conversion is possible NA is returned. |
character string or a lubridate::duration
if x is not a source_spct
or a response_spct
object, NA
is returned
Other time attribute functions:
checkTimeUnit()
,
convertTfrType()
,
convertThickness()
,
convertTimeUnit()
,
setTimeUnit()
getTimeUnit(sun.spct)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.