crystal.vector
object by using
crystal names or subscripts.
x[i, ...] x[i, ...] <- value x[[i, ...]] x[[i, ...]] <- value x$i x$i <- value
"crystal.vector"
.
i
is a logical vector,
it should have length equal to the number of crystals
or to the number of coefficients in
x
.
For
[[
,
i
must be an integer or a crystal name.
For
$
,
i
must be a crystal name.
crystal.vector
.
i
is a logical vector with the same length as the
number of coefficients in
x
,
then
x[i]
returns either a
wp.molecule
or
cp.molecule
object inheriting from the class
molecule
.
Otherwise,
x[i]
returns an object containing all crystals corresponding to
i
.
If the subscripted crystals are orthogonal, the returned object is
of class
"wpt"
or
"cpt"
.
Otherwise, the returned object is 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"
.
See the chapter "More on Wavelet Analysis" of the S+WAVELETS User's Manual for details and examples of subscripting and assignment.