Learn R Programming

FactoClass (version 0.7.7)

dudi.tex: LaTeX Tables of Coordinates and Aids to Interpretation of Principal Axis Methods

Description

Coordinates and aids of interpretation are wrote in tabular environment of LaTeX inside a Table

Usage

dudi.tex(dudi,job="",aidsC=TRUE,aidsR=TRUE,append=TRUE)
latex(obj,job="latex",tit="",lab="",append=TRUE,dec=1)

Arguments

dudi
an object of class dudi
job
a name to identify files and outputs
aidsC
if it is TRUE the coordinates and aids of interpretation of the columns are printed
aidsR
if it is TRUE the coordinates and aids of interpretation of the rows are printed
append
if it is TRUE LaTeX outputs are appended on the file
...
obj
object to export to LaTeX
tit
title of the table
lab
label for crossed references of LaTeX table
dec
number of decimal digits

encoding

latin1

Details

latex function is used to builp up a table. The aids of interpretation are obtained with inertia.dudi of ade4. A file is wrote in the work directory (job.txt) with the following tables: [object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]

Examples

Run this code
data(ardeche)
coa1 <- dudi.coa(ardeche$tab, scann = FALSE, nf = 4)
dudi.tex(coa1,job="Ardeche")

Run the code above in your browser using DataLab