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 thresholdedimwd.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