Learn R Programming

gmwm (version 2.0.0)

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)

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

Value

An object with the updated attribute.