Description Usage Arguments Note Author(s)
suRtex was designed for easy descriptive statistic reporting of categorical survey data (e.g., Likert scales) in LaTeX. suRtex takes a matrix or data frame and produces the LaTeX code necessary for a sideways table creation. Mean, median, standard deviation, and sample size are optional.
1 2 3 |
data |
an object of class "data.frame" or "matrix". |
mean, median, sd, n |
logicals. If TRUE then an additional column is added to the LaTeX table with the corresponding descriptive statistic. |
sub |
a character string to be used as a caption. |
digits |
numeric quantity describing the length of digits to display |
startdoc, enddoc |
logicals. If TRUE then additional LaTeX code is displayed to make a complete LaTeX document. If FALSE then only the code required for the LaTeX sideways table is given. |
suRtex assumes all variables in the data frame or matrix have equivalent levels, such as likert scales.
Dustin Landers (http://www.intensely-curious.com)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.