Learn R Programming

wavethresh (version 4.7.3)

print.wd: Print out information about an wd object in readable form.

Description

This function prints out information about an wd.object in a nice human-readable form.

Note that this function is automatically called by SPlus whenever the name of an wd.object is typed or whenever such an object is returned to the top level of the S interpreter

Usage

# S3 method for wd
print(x, ...)

Value

The last thing this function does is call summary.wd so the return value is whatever is returned by this function.

Arguments

x

An object of class wd that you wish to print out.

...

This argument actually does nothing in this function!

RELEASE

Version 3.0 Copyright Guy Nason 1994

Author

G P Nason

Details

Prints out information about wd objects in nice readable format.

See Also

wd.object, summary.wd.

Examples

Run this code
#
# Generate an wd object.
#
tmp <- wd(rnorm(32))
#
# Now get R to use print.wd
#
tmp
# Class 'wd' : Discrete Wavelet Transform Object:
#        ~~  : List with 8 components with names
#               C D nlevelsWT fl.dbase filter type bc date 
#
# $ C and $ D are LONG coefficient vectors !
#
# Created on : Fri Oct 23 19:56:00 1998 
# Type of decomposition:  wavelet 
# 
# summary(.):
# ----------
# Levels:  5 
# Length of original:  32 
# Filter was:  Daub cmpct on least asymm N=10 
# Boundary handling:  periodic 
# Transform type:  wavelet 
# Date:  Fri Oct 23 19:56:00 1998 
#
#

Run the code above in your browser using DataLab