\HeaderA{mlbench.cuboids}{Cuboids: A 3 Dimensional Problem}{mlbench.cuboids}
\keyword{datagen}{mlbench.cuboids}
\begin{Description}\relax
The inputs of the cuboids problem are uniformly distributed on
a \code{3}-dimensional space within 3 cuboids and a small
cube in the middle of them.
\end{Description}
\begin{Usage}
\begin{verbatim}
mlbench.cuboids(n, relsize=c(2,2,2,1))
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{n}] number of patterns to create
\item[\code{relsize}] relative size of the classes (vector of length 4)
\end{ldescription}
\end{Arguments}
\begin{Value}
Returns an object of class \code{"mlbench.cuboids"}  with components
\begin{ldescription}
\item[\code{x}] input values
\item[\code{classes}] vector of length \code{n} with target classes
\end{ldescription}
\end{Value}
\begin{Author}\relax
Evgenia Dimitriadou, and Andreas Weingessel
\end{Author}
\begin{Examples}
\begin{ExampleCode}
p <- mlbench.cuboids(7000)
plot(p)
## Not run: 
library(Rggobi)
g <- ggobi(p$x)
g$setColors(p$class)
g$setMode("2D Tour")
## End(Not run)\end{ExampleCode}
\end{Examples}

