Compress a (thresholded) imwd class object by removing zeroes.
Compress a (thresholded) imwd
class object by removing zeroes.
## S3 method for class 'imwd' compress(x, verbose=FALSE, ...)
x |
Object to compress. Compression only does anything on |
verbose |
If this is true then report on compression activity. |
... |
any other arguments |
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
An object of type "imwdc
" representing the compressed imwd object.
Version 3.5.3 Copyright Guy Nason 1994
G P Nason
# # The user shouldn't need to use this function directly as the # \code{\link{threshold.imwd}} function calls it # automatically. #
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.