crystal.list, crystal.matrix, crystal.vector, ptable
.
pcosts(x, cost.fun="entropy", scale=NULL, thresh=NULL, p=2, prob=.5)
ptable,
crystal.vector,
crystal.list, or
crystal.matrix.
"energy", "entropy", "lp", "risk", "sure", "threshold".
See details below.
cost.fun. See below for details.
cost.fun is
"threshold" or
"sure".
For
"threshold", the default is determined by the argument
prob.
For
"sure", the default is
sqrt(2 * log(n *log(n, 2))) where
n is length of
x.
(0,2] giving the degree of the
Lp-norm when
cost.fun is
"lp". See below for details.
(0,1) used to compute
thresh when
cost.fun is
"threshold".
By default,
thresh is the
probth quantile of the absolute
value of
x.
pcosts. See
pcosts.object for details.
Cost tables are used to compute "best basis" transforms
from wavelet packet and cosine packet tables.
Available cost functionals:
The sum of the squares of the elements of
x.
x and
scale
.
Lp norm computed by
vecnorm()
.
scale.
thresh.
thresh (in
absolute value).
Wickerhauser, M. V. (1994). Adapted Wavelet Analysis from Theory to Software. A. K. Peters Ltd, Wellesley, MA.