Subscript a Crystal List

DESCRIPTION:
Allows the user to extract or replace parts of a crystal.list object by using crystal names or subscripts.

USAGE:
x[i, ...]
x[i, ...] <- value
x[[i, ...]]
x[[i, ...]] <- value
x$i
x$i <- value

REQUIRED ARGUMENTS:
x:
an object inheriting from class "crystal.list".
i:
a vector of crystal names, positive integers or logical flags. For [[, i must be an integer or a crystal name.

OPTIONAL ARGUMENTS:
value:
replacement value for the relevant piece of the crystal.list.

VALUE:
x[i] returns an object containing all crystals corresponding to i. It returns an object of class wpt or cpt if the subscripted crystals are orthogonal. Otherwise it returns and object of class wp or cp The object inherits from class crystal.vector.

x[[i]] and x$i return an object of class "wp.crystal" or "cp.crystal".


DETAILS:
See the chapter "More on Wavelet Analysis" of the S+WAVELETS User's Manual for details and examples of subscripting and assignment.

BUGS:
You cannot subscript a crystal.list object by a logical vector with length equal the number of transform coefficients.