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

compress.imwdR Documentation

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

Description

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

Usage

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

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

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

Value

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

RELEASE

Version 3.5.3 Copyright Guy Nason 1994

Author(s)

G P Nason

See Also

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

Examples

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

wavethresh documentation built on Sept. 11, 2024, 9:33 p.m.