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! > > ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.