update_obj: Update the Attributes of Objects

Description Usage Arguments Value

View source: R/update.R

Description

Internal Function to Update the Attributes of Objects

Usage

1
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.


SMAC-Group/gmwm documentation built on Sept. 11, 2021, 10:06 a.m.