Function to set by reference the "time.unit" attribute
a source_spct object
a character string, either "second", "hour", "day", "exposure" or "none", or a lubridate::duration
logical Flag that can be used to silence warning when overwritting an existing attribute value (used internally)
if x is not a source_spct or response_spct object, x is not modified.
The behaviour of this function is 'unusual' in that the default for
time.unit is used only if
x does not already have
this attribute set.
time.unit = "hour" is currently not fully
1 2 3