Usage
df2latex(x,digits=2,rowlabels=TRUE,apa=TRUE,short.names=TRUE,font.size ="scriptsize",
big.mark=NULL, heading="A table from R",caption="df2latex",label="default")
cor2latex(x,digits=2,rowlabels=TRUE,lower=TRUE,apa=TRUE,short.names=TRUE,
font.size ="scriptsize",
heading="A correlation table from the psych package in R",
caption="cor2latex",label="default")
fa2latex(f,digits=2,rowlabels=TRUE,apa=TRUE,short.names=FALSE,cumvar=FALSE,
font.size ="scriptsize",
heading="A factor analysis table from the psych package in R",
caption="fa2latex",label="default")
irt2latex(f,digits=2,rowlabels=TRUE,apa=TRUE,short.names=FALSE,
font.size ="scriptsize",
heading="An IRT factor analysis table from R",caption="fa2latex",label="default")
Arguments
x
A data frame or matrix to convert to LaTeX. If non-square, then correlations will be found prior to printing in cor2latex
digits
Round the output to digits of accuracy. NULL for formatting character data
rowlabels
If TRUE, use the row names from the matrix or data.frame
short.names
Name the columns 1 .. N to save space
apa
If TRUE formats table in APA style
cumvar
For factor analyses, should we show the cumulative variance accounted for?
font.size
e.g., "scriptsize", "tiny" or anyother acceptable LaTeX font size.
heading
The label appearing at the top of the table
lower
in cor2latex, just show the lower triangular matrix
f
The object returned from a factor analysis using fa
or irt.fa
. label
The label for the table
big.mark
Comma separate numbers large numbers