compress.imwd {wavethresh} | R Documentation

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

### Description

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

### Usage

    compress.imwd(imwd, verbose=FALSE, ...)

### Arguments

`imwd` | 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

### 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
    # this-is-escaped-codenormal-bracket50bracket-normal function calls it
    # automatically.
    #

[Package wavethresh version 4.0-2 Index]