Learn R Programming

wavethresh (version 4.7.3)

print.mwd: Use print() on a mwd object.

Description

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

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

Usage

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

Value

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

Arguments

x

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

...

This argument actually does nothing in this function!

RELEASE

Version 3.9.6 (Although Copyright Tim Downie 1995-6)

Author

G P Nason

Details

Prints out information about mwd objects in nice readable format.

See Also

accessC.mwd, accessD.mwd, draw.mwd, mfirst.last, mfilter.select,mwd, mwd.object, mwr, plot.mwd, putC.mwd, putD.mwd, summary.mwd, threshold.mwd, wd, wr.mwd.

Examples

Run this code
#
# Generate an mwd object.
#
tmp <- mwd(rnorm(32))
#
# Now get Splus to use print.mwd
#
tmp
# Class 'mwd' : Discrete Multiple Wavelet Transform Object:
#	 ~~~  : List with 10 components with names
#		 C D nlevelsWT ndata filter fl.dbase type bc prefilter date 
# 
# $ C and $ D are LONG coefficient vectors !
# 
# Created on : Tue Nov 16 13:16:07 GMT 1999 
# Type of decomposition:  wavelet 
# 
# summary:
# ----------
# Length of original:  32 
# Levels:  4 
# Filter was:  Geronimo Multiwavelets 
# Scaling fns:  2 
# Wavelet fns:  2 
# Prefilter:  default 
# Scaling factor:  2 
# Boundary handling:  periodic 
# Transform type:  wavelet 
# Date:  Tue Nov 16 13:16:07 GMT 1999 

Run the code above in your browser using DataLab