powered by
Function to read the "time.unit" attribute
getTimeUnit(x, force.duration = FALSE)
character string or a lubridate::duration
a source_spct object
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.
Other time attribute functions: checkTimeUnit(), convertThickness(), convertTimeUnit(), setTimeUnit()
checkTimeUnit()
convertThickness()
convertTimeUnit()
setTimeUnit()
getTimeUnit(sun.spct)
Run the code above in your browser using DataLab