Learn R Programming

wavethresh (version 4.7.3)

compress.imwd: Compress a (thresholded) imwd class object by removing zeroes.

Description

Compress a (thresholded) imwd class object by removing zeroes.

Usage

# S3 method for imwd
compress(x, verbose=FALSE, ...)

Value

An object of type "imwdc" representing the compressed imwd object.

Arguments

x

Object to compress. Compression only does anything on thresholded imwd.object.

verbose

If this is true then report on compression activity.

...

any other arguments

RELEASE

Version 3.5.3 Copyright Guy Nason 1994

Author

G P Nason

Details

Thresholded imwd objects are usually very large and contain many zero elements. This function compresses these objects into smaller imwd objects by using the compress.default function which removing the zeroes. This function is a method for the generic function compress for class imwd objects. It can be invoked by calling compress for an object of the appropriate class, or directly by calling compress.imwd regardless of the class of the object

See Also

compress, compress.default, imwd, imwd.object, imwdc.object, threshold.imwd.

Examples

Run this code
#
# The user shouldn't need to use this function directly as the
# \code{\link{threshold.imwd}} function calls it
# automatically.
#

Run the code above in your browser using DataLab