\HeaderA{mlbench.waveform}{Waveform Database Generator (written in C)}{mlbench.waveform}
\keyword{datagen}{mlbench.waveform}
\begin{Description}\relax
The generated data set consists of 21 attributes with continuous
values and a variable showing the 3 classes (33\% for each of 3
classes). Each class is generated from a combination of 2 of 3
"base" waves.
\end{Description}
\begin{Usage}
\begin{verbatim}
  mlbench.waveform(n)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of patterns to create
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns an object of class \code{"mlbench.waveform"} with components
\begin{ldescription}
\item[\code{x}] input values
\item[\code{classes}] factor vector of length \code{n} with target classes
\end{ldescription}
\end{Value}
\begin{References}\relax
Breiman, L. (1996). Bias, variance, and arcing
classifiers. Tech. Rep. 460, Statistics Department, University of
California, Berkeley, CA, USA.
\end{References}
\begin{Examples}
\begin{ExampleCode}
  p<-mlbench.waveform(100)
  plot(p)
\end{ExampleCode}
\end{Examples}

