\HeaderA{discretize}{Create a discret matrix}{discretize}
\keyword{cluster}{discretize}
\begin{Description}\relax
Some biclusteralgorithms need a discret matrix to perform well.
This function delivers a discret matrix with either a given number of levels of equally spaced intervals from minimum to maximum, or levels of same size using the quantiles.
\end{Description}
\begin{Usage}
\begin{verbatim}
discretize(x,nof=10,quant=FALSE)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] The data matrix from which should be dicretized
\item[\code{nof}] Number of levels
\item[\code{quant}] If TRUE using the quantiles, else using equally spaced levels
\end{ldescription}
\end{Arguments}
\begin{Author}\relax
Sebastian Kaiser
\email{sebastian.kaiser@stat.uni-muenchen.de}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
  #Discretize yeast microarray data
  data(BicatYeast)
  discretize(BicatYeast[1:10,1:10])

  \end{ExampleCode}
\end{Examples}

