Learn R Programming

DTSg (version 2.0.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, ...)

Value

Returns a DTSg object.

Arguments

x

A DTSg object (S3 method only).

...

Not used (S3 method only).

Examples

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

# check the object's integrity
## R6 method
x$refresh()

## S3 method
refresh(x = x)

Run the code above in your browser using DataLab