outXT | R Documentation |
outXT
takes the output from CrossTable
in the gmodels
package and produces either LaTeX code or CSV file that can be imported into
word processing software.
outXT(
obj,
count = TRUE,
prop.r = TRUE,
prop.c = TRUE,
prop.t = TRUE,
col.marg = TRUE,
row.marg = TRUE,
digits = 3,
type = "word",
file = NULL
)
obj |
A list returned by |
count |
Logical indicating whether the cell frequencies should be returned. |
prop.r |
Logical indicating whether the row proportions should be returned. |
prop.c |
Logical indicating whether the column proportions should be returned. |
prop.t |
Logical indicating whether the cell proportions should be returned. |
col.marg |
Logical indicating whether the column marginals should be printed. |
row.marg |
Logical indicating whether the row marginals should be printed. |
digits |
Number of digits to use in printing the proportions. |
type |
String where |
file |
Connection where the file will be written, if |
A file containing LaTeX Code or CSV data to make a table
Dave Armstrong
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.