Learn R Programming

wavethresh (version 4.7.3)

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

Description

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

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

Usage

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

Value

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

Arguments

x

An object of class wp 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 wp objects in nice readable format.

See Also

wp.object, summary.wp.

Examples

Run this code
#
# Generate an wp object.
#
tmp <- wp(rnorm(32))
#
# Now get Splus to use print.wp
#
tmp
#
# Now get Splus to use print.wp
#
# tmp
# Class 'wp' : Wavelet Packet Object:
#        ~~  : List with 4 components with names
#               wp nlevelsWT filter date 
# 
# $wp is the wavelet packet matrix
# 
# Created on : Fri Oct 23 19:59:01 1998 
# 
# summary(.):
# ----------
# Levels:  5 
# Length of original:  32 
# Filter was:  Daub cmpct on least asymm N=10 

Run the code above in your browser using DataLab