\HeaderA{ENMCA}{MCA and cluster analysis}{ENMCA}
\begin{Description}\relax
This function allows to perform a cluster analysis following a MCA.
\end{Description}
\begin{Usage}
\begin{verbatim}
ENMCA(dataset,ncp=5,ind.sup = NULL, quanti.sup = NULL, quali.sup = NULL, axes = c(1, 2), row.w = NULL,signif=FALSE,proba=0.05,report=FALSE,language="english")
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{dataset}] current dataset
\item[\code{ncp}] number of dimensions (by fefault, ncp=5)
\item[\code{ind.sup}] a vector indicating the indexes of the supplementary individuals
\item[\code{quanti.sup}] a vector indicating the indexes of the supplementary quantitatives variables
\item[\code{quali.sup}] a vector indicating the indexes of the supplementary qualitatives variables
\item[\code{axes}] a length 2 vector specifying the components to plot
\item[\code{row.w}] an optional row weights (by default, uniform row weights)
\item[\code{signif}] a logical value. If TRUE, a p-value is associated to the 2 first dimensions
\item[\code{proba}] Threshold used for the automatic description of the clusters. By default, proba=0.05
\item[\code{report}] a logical value. If TRUE, a pdf report is produced using the Sweave package
\item[\code{language}] a value of c("english","french") which determines the language to use for the report
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
If report=TRUE, a directory named "EnQuireR" is created in your working directory (which can be known thanks to the getwd() function). This directory contains the final pdf report and also the teX file used to produce it.
\end{Details}
\begin{Value}
A list containing the following elements:
\begin{ldescription}
\item[\code{data}] dataset withe the new categorical variable, obtained with the cluster analysis
\item[\code{catdes}] result of the catdes of the clusters
\item[\code{MCA}] normal results of an MCA. On the MCA factor map, each cluster is displayed in a different colour
\end{ldescription}
\end{Value}
\begin{Author}\relax
Jerome Bouche \email{jerome.bouche@yahoo.fr} \\
Marine Cadoret \email{marine.cadoret@agrocampus-ouest.fr} \\
Gwenaelle Fournier \email{gwenaelle.fournier@gmail.com} \\
Olivier Fournier \email{olivier.fournier76@gmail.com} \\
Francois Le Poder \email{francois.lepoder@gmail.com}
\end{Author}
\begin{Examples}
\begin{ExampleCode}
## Not run: 
data(tea)
res.enmca=ENMCA(tea[,1:18])
## End(Not run)
\end{ExampleCode}
\end{Examples}

