\HeaderA{mlbench.shapes}{Shapes in 2d}{mlbench.shapes}
\keyword{datagen}{mlbench.shapes}
\begin{Description}\relax
A Gaussian, square, triangle and wave in 2 dimensions.
\end{Description}
\begin{Usage}
\begin{verbatim}
mlbench.shapes(n=500)
\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.shapes"}  with components
\begin{ldescription}
\item[\code{x}] input values
\item[\code{classes}] factor of length \code{n} with target classes
\end{ldescription}
\end{Value}
\begin{Examples}
\begin{ExampleCode}
p<-mlbench.shapes()
plot(p)
\end{ExampleCode}
\end{Examples}

