Learn R Programming

DTSg (version 0.2.0)

refresh.DTSg: Object Integrity

Description

Checks the integrity of a DTSg object and tries to automatically (re-)detect its periodicity. Normally, there is no reason for a user to call this method. The only exception is stated in values.

Usage

# S3 method for DTSg
refresh(x, ...)

Arguments

x

A DTSg object (S3 method only).

Not used (S3 method only).

Value

Returns a DTSg object.

See Also

DTSg, values

Examples

Run this code
# NOT RUN {
# new DTSg object
x <- DTSg$new(values = flow)

# check object integrity
## R6 method
x$refresh()

## S3 method
refresh(x = x)

# }

Run the code above in your browser using DataLab