\HeaderA{hf.u}{hf.u}{hf.u}
\keyword{manip}{hf.u}
\begin{Description}\relax
Denoises a Gaussian contaminated vector using wavelet thresholding with the universal threshold. Requires WaveThresh3. Also see help to \code{wd}, \code{threshold},and \code{link\{wr\}} in WaveThresh.
\end{Description}
\begin{Usage}
\begin{verbatim}
hf.u(x, filter.number = 10, family = "DaubLeAsymm", min.level = 3, type = "hard")\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] The noisy vector, its length must be a power of 2.
\item[\code{filter.number}] The filter number of the analysing wavelet. Can be set to 1, 2, \dots, 10 for \code{family == "DaubExPhase"}, or to 4, 5, \dots, 10 for \code{family == "DaubLeAsymm"}.
\item[\code{family}] The family of wavelet bases from which the wavelet \code{filter.number} is chosen. Can be set to "DaubExPhase" or "DaubLeAsymm".
\item[\code{min.level}] The minimum level thresholded.
\item[\code{type}] Type of thresholding, can be set to hard or soft
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns: 
\begin{ldescription}
\item[\code{est}] Denoised version of \code{x}.
\end{ldescription}
\end{Value}
\begin{Author}\relax
Piotr Fryzlewicz
\end{Author}

