\HeaderA{accessC.wst}{Get smoothed data from packet ordered non-decimated wavelet object (wst)}{accessC.wst}
\keyword{manip}{accessC.wst}
\begin{Description}\relax
The smoothed data from a packet ordered non-decimated wavelet object (returned from \code{\LinkA{wst}{wst}}) are stored in a matrix. This function extracts all the coefficients corresponding to a particular resolution level.
\end{Description}
\begin{Usage}
\begin{verbatim}
accessC.wst(wst, level, aspect, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{wst}] Packet ordered non-decimated wavelet object from which you wish to extract the smoothed or original data (if the object is directly from a packet ordered non-decimated wavelet transform of some data).
\item[\code{level}] The level that you wish to extract. This can range from zero (the coarsest coefficients) to nlevels(wstobj) which returns the original data.
\item[\code{aspect}] 
\item[\code{...}] 
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The \code{\LinkA{wst}{wst}} function performs a packet-ordered non-decimated wavelet transform. This function extracts all the father wavelet coefficients at a particular resolution level specified by \code{level}.

Note that coefficients returned by this function are in emph{packet order}. They can be used \emph{as is} but for many applications it might be more useful to deal with the coefficients in packets: see the function \code{\LinkA{getpacket.wst}{getpacket.wst}} for further details.
\end{Details}
\begin{Value}
A vector of the extracted data.
\end{Value}
\begin{References}\relax
Nason, G. P. and Silverman, B. W. (1994). The discrete wavelet transform in S. \emph{Journal of Computational and Graphical Statistics}, \bold{3}, 163--191.
\end{References}
\begin{SeeAlso}\relax
\code{\LinkA{wst}{wst}}, \code{\LinkA{wst.object}{wst.object}}, \code{\LinkA{accessC}{accessC}}, \code{\LinkA{getpacket.wst}{getpacket.wst}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
#
# Get the 3rd level of smoothed data from a decomposition
#
#accessC(wst(data), level=3)
\end{ExampleCode}
\end{Examples}

