Learn R Programming

wavethresh (version 4.6.1)

IsEarly.wd: Function to detect whether a wd object is from WaveThresh2 or not

Description

Function to detect whether a wd object is from WaveThresh2 or not.

Usage

## S3 method for class 'wd':
IsEarly(x)

Arguments

x
The wd object that you are trying to check

Value

  • Returns TRUE if from an earlier version of WaveThresh (v2), returns FALSE if not.

Details

The function merely looks to see whether the wd object has a component called date. If it does not then it is from version 2. This routine is legacy and not very important anymore.

See Also

IsEarly