Description Usage Arguments Details Author(s) See Also
This function wraps the xtable
and print.xtable
functions in the xtable
package so that numeric columns are aligned
on their decimal place.
1 2 3 |
x |
a data frame to create a LaTeX table from. |
cols |
a numeric vector indicating which columns should be aligned on decimal points. It defaults to all columns of type numeric. |
colAlignment |
named character vector where each element name corresponds to a |
tocharFun |
the function used to convert the numeric vector to a character
vector. This defaults to |
... |
other parameters passed to |
See http://jason.bryer.org/posts/2013-01-04/xtable_with_aligned_decimals.html for more information.
Jason Bryer <jason@bryer.org>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.