threshold.imwd  R Documentation 
This funcion provides various ways to threshold a imwd
class
object. It contains a minor variation of the equivalent WaveThresh
function, which is necessary for the LS2W package.
## S3 method for class 'imwd' threshold(x, levels = 3:(x$nlevels  1), type = "hard", policy = "universal", by.level = FALSE, value = 0, dev = var, verbose = FALSE, return.threshold = FALSE, compression = TRUE, Q = 0.05, ...)
x 
The twodimensional wavelet decomposition object that you wish to threshold. 
levels 
a vector of integers which determines which scale
levels are thresholded in the decomposition. Each integer in the
vector must refer to a valid level in the 
type 
Determines whether the type of thresholding is

policy 
selects the technique by which the threshold value
is selected. Each policy corresponds to a method in the literature.
At present the different policies are: 
by.level 
If 
value 
This argument conveys the user supplied threshold.
If the 
dev 
This argument supplies the function to be used to
compute the spread of the absolute values coefficients. The
function supplied must return a value of spread on the variance
scale (i.e. not standard deviation) such as the 
verbose 
If 
return.threshold 
If this option is 
compression 
If this option is 
Q 
Parameter for the false discovery rate 
... 
There are no other arguments for this function! 
An object of class imwdc
if the compression option above is
TRUE
,
otherwise a imwd
object is returned. In either case the
returned
object contains the thresholded coefficients. Note that if the
return.threshold
option is set to TRUE then the threshold
values
will be returned rather than the thresholded object.
Idris Eckley and Guy Nason
Please refer to the equivalent wavethresh help page.
Guy Nason (2010). wavethresh: Wavelets statistics and transforms. R package version 4.5. URL http://CRAN.Rproject.org/package=wavethresh
imwd
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.