[R] set digits in xtable by row
Christian Raschke
crasch2 at tigers.lsu.edu
Thu Feb 3 00:36:41 CET 2011
Nevermind, I just read in the documentation that 'digits' can be a
matrix. No idea how I could have overlooked this the first few times of
reading it.
I'm sorry for the noise.
CR
On Wed, 2011-02-02 at 16:40 -0600, Christian Raschke wrote:
> Hello R-listers,
>
> I am using xtable to create some LaTeX tables for me to Sweave into my
> document. I am now trying to set the number of digits that will be
> reported in several _rows_ in my table.
>
> The 'digits' option in xtable() sets the number of digits to display for
> specified columns. Am I missing another obvious option to do the same
> thing for rows? A quick RSiteSearch didn't turn up anything. I can't
> just flip the table sideways, but it looks goofy when I report sample
> sizes etc as 123.0000.
>
> Thanks!
>
>
More information about the R-help
mailing list