Learn R Programming

wavethresh (version 2.2-6)

compress.imwd: `Compress' Method for `imwd' Object

Description

Compresses a (thresholded) imwd object (imwd.object) by removing zero elements.

Usage

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

Arguments

imwd
class imwd object to compress.
verbose
logical; if true then report on compression activity.

Value

  • An object of class "imwdc" representing the compressed imwd object, see imwdc.object.

RELEASE

Release 2.2 Copyright Guy Nason 1993

Details

Thresholded imwd objects are usually very large and contain many zero elements. This function compresses these objects into smaller "imwdc" objects by using the compress.default function and removing the zeroes.

This function is a method for the generic function compress for class imwd.

The user shouldn't need to use this function.

See Also

compress.default, threshold, imwdc.object.