update_obj: Update the Attributes of Objects

View source: R/update.R

update_objR Documentation

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.


simts documentation built on Aug. 31, 2023, 5:07 p.m.