Usage
df2latex(x,digits=2,rowlabels=TRUE,apa=TRUE,short.names=TRUE,font.size ="scriptsize",
big.mark=NULL,drop.na=TRUE, heading="A table from the psych package in R",
caption="df2latex",label="default", char=FALSE,
stars=FALSE,silent=FALSE,file=NULL,append=FALSE)
cor2latex(x,use = "pairwise", method="pearson", adjust="holm",stars=FALSE,
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",silent=FALSE,file=NULL,append=FALSE)
fa2latex(f,digits=2,rowlabels=TRUE,apa=TRUE,short.names=FALSE,cumvar=FALSE,
cut=0,big=.3,alpha=.05,font.size ="scriptsize",
heading="A factor analysis table from the psych package in R",
caption="fa2latex",label="default",silent=FALSE,file=NULL,append=FALSE)
omega2latex(f,digits=2,rowlabels=TRUE,apa=TRUE,short.names=FALSE,cumvar=FALSE,cut=.2,
font.size ="scriptsize",
heading="An omega analysis table from the psych package in R",
caption="omega2latex",label="default",silent=FALSE,file=NULL,append=FALSE)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",silent=FALSE,file=NULL,append=FALSE)
ICC2latex(icc,digits=2,rowlabels=TRUE,apa=TRUE,ci=TRUE,
font.size ="scriptsize",big.mark=NULL, drop.na=TRUE,
heading="A table from the psych package in R",
caption="ICC2latex",label="default",char=FALSE,silent=FALSE,file=NULL,append=FALSE)
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 with abbreviated rownames 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 (big.mark=",")
drop.na
Do not print NA values
method
When finding correlations, which method should be used (pearson)
use
use="pairwise" is the default when finding correlations in cor2latex
adjust
If showing probabilities, which adjustment should be used (holm)
stars
Should probability asterixs be displayed in cor2latex (FALSE)
char
char=TRUE allows printing tables with character information, but does not allow for putting in commas into numbers
cut
In omega2latex and fa2latex, do not print abs(values) < cut
big
In fa2latex, boldface those abs(values) > big
alpha
If fa has returned confidence intervals, then what values of loadings should be boldfaced?
icc
Either the output of an ICC, or the data to be analyzed.
ci
Should confidence intervals of the ICC be displayed
silent
If TRUE, do not print any output, just return silently -- useful if using Sweave
file
If specified, write the output to this file
append
If file is specified, then should we append (append=TRUE) or just write to the file