TITLE(putC @@ Put smoothed data into wavelet structure )
Makes a copy of the wd object, replaces some smoothed data in
the copy, and then returns the copy.
USAGE(
putC(wd, level, v, boundary=F)
)
ARGUMENTS(
ARG(wd@@)
wd class object that is to be copied and have smoothed data replaced
ARG(level@@)
The level at which the replacement is to take place
ARG(v@@)
The replacement data, this should be of the correct length.
ARG(boundary@@)
If boundary is F then only the "real" data is replaced (and it is
easy to predict the required length of v). If boundary is T then
you can replace the boundary values at a particular level as well
(but it is hard to predict the required length of v, and the information
has to be obtained from the first.last database component of wd).
This argument has no meaning if the wd object was obtained with the bc
periodic boundary handling method.
)
PARA BOLD(VALUE)
A wd class object containing the replaced data.
PARA BOLD(SIDE EFFECTS)
None
The function "accessC" obtains the smoothed data for a particular
level. The function "putC" replaces data at a particular level and
returns a modified wd object reflecting the change.
This function is probably not particularly useful, but it is present
for completeness. It is required because of the pyramidal nature of
the smoothed data points being packed into a vector.
PARA BOLD(RELEASE)
Release 2.2
Copyright Guy Nason 1993
PARA BOLD(SEE ALSO)
LANG(wd.object), LANG(accessC)
BLANK

PARA BOLD( )
BLANK

EXAMPLES(
#
# Put the numbers 1:64 into level 6
#
> new <- putC(old, level=6, v=1:64, boundary=F)
#
# If you look at the C component of new, you will see that
# some numbers have changed at the appropriate position.
#
)
PARA ITALIC(File automatically converted from S(-PLUS) help format)
