write_xtable | R Documentation |
Write xtable in a file
write_xtable( x, filename = NULL, count = FALSE, sort.by = "Count", na.rm = TRUE, add.percentages = FALSE )
x |
a vector or matrix |
filename |
output file |
count |
Add total count of cases in the beginning |
sort.by |
Column used for sorting. The Count is the default. |
na.rm |
Remove NA entries |
add.percentages |
Add percentage information to the table. This indicates the total fraction of the count, calculated from all input entries if na.rm is FALSE, and from non-NA entries if na.rm is TRUE. |
Table indicating the count for each unique entry in the input vector or matrix. The function writes the statistics in the file.
Leo Lahti leo.lahti@iki.fi
See citation("bibliographica")
## Not run: tab <- write_xtable(x, "tmp.tab")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.