Learn R Programming

wavethresh (version 4.7.3)

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 wd
IsEarly(x)

Value

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

Arguments

x

The wd object that you are trying to check

Author

G P Nason

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