update_obj: Update the Attributes of Objects
Description
Internal Function to Update the Attributes of Objects
Usage
update_obj(object, type, new, keep.start = T)
Value
An object with the updated attribute.
Arguments
- object
A lts
, gts
or imu
object
- type
A string
that contains the attribute to be updated
- new
The updated value for the attribute
- keep.start
A boolean
value that indicates whether 'start' or 'end' should remain the same when 'freq' is updated