<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Table of Coordinates, Aids of Interpretation of the Principal...</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="R.css" />
</head><body>

<table width="100%" summary="page for FactoClass.tex"><tr><td>FactoClass.tex</td><td style="text-align: right;">R Documentation</td></tr></table>

<h2>Table of Coordinates, Aids of Interpretation of the Principal
Axes and Cluster Analysis in  LaTeX format.</h2>

<h3>Description</h3>

<p> The coordinates, aids of interpretation and results of
cluster analysis of an object of class <code>FactoClass</code> are written
in tables for edition in  LaTeX format and
written in a file.
</p>


<h3>Usage</h3>

<pre>
FactoClass.tex(FC,job="",append=TRUE, dir = getwd(), p.clust = FALSE )

## S3 method for class 'FactoClass.tex'
print(x, ...)

latexDF(obj, job="latex" ,tit="" ,lab="" ,append=TRUE ,dec=1,
                     dir = getwd() , to.print = TRUE )
roundDF(tabla,dec=1)

    </pre>


<h3>Arguments</h3>

<table summary="R argblock">
<tr valign="top"><td><code>FC      </code></td>
<td>
<p>object of class FactoClass. </p>
</td></tr>
<tr valign="top"><td><code>job     </code></td>
<td>
<p>A name to identify the exit.</p>
</td></tr>
<tr valign="top"><td><code>append  </code></td>
<td>
<p>if is <code>'TRUE'</code> the exit in  LaTeX format is added to the file.</p>
</td></tr>
<tr valign="top"><td><code>dir     </code></td>
<td>
<p>name of the directory in which the file is kept.</p>
</td></tr>
<tr valign="top"><td><code>p.clust </code></td>
<td>
<p>the value of this parameter is 'TRUE' or 'FALSE' to print or not the cluster of each element. </p>
</td></tr>
<tr valign="top"><td><code>tabla   </code></td>
<td>
<p>object of class 'data frame'.</p>
</td></tr>
<tr valign="top"><td><code>dec     </code></td>
<td>
<p>number of decimal.</p>
</td></tr>
<tr valign="top"><td><code>x       </code></td>
<td>
<p>object of class <code>FactoClass.tex</code></p>
</td></tr>
<tr valign="top"><td><code>...</code></td>
<td>
<p>further arguments passed to or from other methods</p>
</td></tr>
<tr valign="top"><td><code>obj     </code></td>
<td>
<p>object of class data.frame.</p>
</td></tr>
<tr valign="top"><td><code>tit     </code></td>
<td>
<p>title of the table in LaTeX format.</p>
</td></tr>
<tr valign="top"><td><code>lab     </code></td>
<td>
<p>label of the table in LaTeX format.</p>
</td></tr>
<tr valign="top"><td><code>to.print</code></td>
<td>
<p>if it is  <code>'TRUE'</code> the table is also printed in the console.</p>
</td></tr>
</table>


<h3>Details</h3>

<p> This function helps with the construction of tables in
<em>LaTeX</em> format.
Besides, it allows a easy reading of the generated results
by FactoClass. The function latexDF is an entrance
to <code>xtable</code> and turns an object of class data.frame a table in LaTeX format.
</p>


<h3>Value</h3>

<p>object of class <code>FactoClass.tex</code> with the following characteristics:
</p>
<table summary="R valueblock">
<tr valign="top"><td><code>tvalp</code></td>
<td>
<p>eigenvalues * 1000.</p>
</td></tr>
<tr valign="top"><td><code>c1</code></td>
<td>
<p>eigenvectors.</p>
</td></tr>
<tr valign="top"><td><code>co</code></td>
<td>
<p>coordinates of the columns.</p>
</td></tr>
<tr valign="top"><td><code>col.abs</code></td>
<td>
<p>contribution of each column to the inertia of the axis (percentage).</p>
</td></tr>
<tr valign="top"><td><code>col.rel</code></td>
<td>
<p>quality of representation of each column (percentage).</p>
</td></tr>
<tr valign="top"><td><code>col.cum</code></td>
<td>
<p>quality of representation of each column accumulated in the subspace (percentage).</p>
</td></tr>
<tr valign="top"><td><code>li</code></td>
<td>
<p>coordinates of the rows.</p>
</td></tr>
<tr valign="top"><td><code>row.abs</code></td>
<td>
<p>contribution of each rows to the inertia of the axis (percentage).</p>
</td></tr>
<tr valign="top"><td><code>row.rel</code></td>
<td>
<p>quality of representation of each rows (percentage).</p>
</td></tr>
<tr valign="top"><td><code>row.cum</code></td>
<td>
<p>quality of representation of each rows accumulated in the subspace (percentage).</p>
</td></tr>
<tr valign="top"><td><code>indices</code></td>
<td>
<p>table of indices of level generated by the Ward cluster analysis.</p>
</td></tr>
<tr valign="top"><td><code>cor.clus</code></td>
<td>
<p>coordinates of the center of gravity of each cluster.</p>
</td></tr>
<tr valign="top"><td><code>clus.summ</code></td>
<td>
<p>summary of the cluster.</p>
</td></tr>
<tr valign="top"><td><code>carac.cate</code></td>
<td>
<p>cluster characterization by qualitative variables.</p>
</td></tr>
<tr valign="top"><td><code>carac.cont</code></td>
<td>
<p>cluster characterization by quantitative variables.</p>
</td></tr>
<tr valign="top"><td><code>cluster   </code></td>
<td>
<p>vector indicating the cluster of each element.</p>
</td></tr>
</table>


<h3>Author(s)</h3>

<p>Pedro Cesar del Campo <a href="mailto:pcdelcampon@unal.edu.co">pcdelcampon@unal.edu.co</a>, Campo Elias Pardo <a href="mailto:cepardot@unal.edu.co">cepardot@unal.edu.co</a>
</p>


<h3>Examples</h3>

<pre>
data(DogBreeds)
DB.act &lt;- DogBreeds[-7]  # active variables
DB.ilu &lt;- DogBreeds[7]   # illustrative variables
# MCA
FaCl &lt;- FactoClass( DB.act, dudi.acm,
                    scanFC = FALSE, dfilu = DB.ilu, nfcl = 10, k.clust = 4 )
FactoClass.tex(FaCl,job="DogBreeds1", append=TRUE)
# FactoClass.tex(FaCl,job="DogBreeds", append=TRUE , p.clust = TRUE)
</pre>


</body></html>
