search for: bottomrule

Displaying 10 results from an estimated 10 matches for "bottomrule".

2013 May 24
2
xtable() with booktabs option problem
I could have sworn that yesterday xtable(file, booktabs = TRUE) was giving me toprule , midrule and bottomrule outout. Today : library(xtable) aa <- table( sample(letters[1:9], 100, replace = TRUE)) xtable(aa, booktabs = TRUE) gives me \begin{table}[ht] \centering \begin{tabular}{rr} \hline & V1 \\ \hline a & 15 \\ b & 11 \\ c & 13 \\ d & 14 \\ e...
2007 Sep 17
1
longtable and Sweave
Dear Sweave-users, I want to print listing using sweave. Because my tables are very big, I use the longtable option. But, is it possible to recall the first line of the table (e.g the colnames line) on each new page ? Thanks for your help. Delphine
2013 Jan 18
0
tables package: How to remove column headings and alignment issues
Dear expeRts, Here is a minimal example with the latest version of 'tables' (questions below): require(tables) saveopts <- table_options(toprule="\\toprule", midrule="\\midrule", bottomrule="\\bottomrule", titlerule="\\cmidrule(lr)", rowlabeljustification="r")#, justification="r") ## data.frame x <- expand.grid(beta=as.factor(c("95", "99", "99.9")), m=as.factor(c(64,...
2010 Dec 30
1
latex() etc.: How to nicely format a matrix for a LaTeX document?
...c (toLatex() didn't work). Consider the following minimal example: library(Hmisc) mat <- matrix(c(1,NA,3,100,10000,4), ncol = 3, byrow = TRUE) latex(mat, file = "", booktabs = TRUE, numeric.dollar = FALSE, table.env = FALSE) I am only interested in the part between \midrule and \bottomrule [I couldn't figure out how to remove the tabular environment]. It looks like this: 1&&3\tabularnewline 100&10000&4\tabularnewline My questions/problems are: (1) if there are NA's, you can see that the output is not aligned according to the &-symbols. That makes it h...
2012 Feb 07
1
xtable "beta" testing wanted
...tional arguments such as "big.marks" to "formatC()". * Added "rotate.colnames" and "rotate.rownames" arguments to "print.xtable". * Added "booktabs" argument to use the "\toprule", "\midrule", and "\bottomrule" tags from the Latex "booktabs" package rather than using "\hline" for all horizontal lines. * Added "scalebox" argument to include a "\scalebox" clause around the tabular environment with the specified value used as the scaling factor. * C...
2006 Mar 13
1
Formatting an anova table using latex
...434 & 446 & -213 & & & \\ \addit raw1.lmer & 5 & 436 & 451 & -213 & 0.021 & ~1 & 0.89\\ \multip raw1.lmerI & 6 & 438 & 456 & -213 & 0.114 & ~1 & 0.74\\ \bottomrule \end{tabular} \end{center} Can you tell me how to suppress 'raw1.lmer0', 'raw1.lmer', and 'raw1.lmerI' in the first column? _____________________________ Professor Michael Kubovy University of Virginia Department of Psychology USPS: P.O.Box 400400 Charlottesvil...
2009 Jan 07
1
xtable-longtable question
Hello: I am using Sweave to generate a PDF with figures and tables and was wondering if is possible to carry on table headers and some kind of caption like 'Continued' to the next PDF page when creating long tables. Felipe D. Carrillo Supervisory Fishery Biologist Department of the Interior US Fish & Wildlife Service California, USA
2009 May 07
0
Hmisc::latex() help
...ewline 5&0&5&&&&00&NA&000&NA\tabularnewline 6&0&6&&&&00&NA&011&NA\tabularnewline 7&0&7&&&&00&NA&000&NA\tabularnewline 8&0&8&&&&01&NA&000&NA\tabularnewline \bottomrule \end{tabular} \end{center} \end{table} I presume that this is due to the mixed nature of the columns. Suggestions for a fix? (I am also not clear on when R produces NA or <NA> Thanks, MK _____________________________ Professor Michael Kubovy University of Virginia Department of Psych...
2004 Jun 03
3
printing tabular data nicely
Hi R-heplers, I would like to print various matrices, dataframes, tables, etc to files, preferably nicely formatted postscript for import into papers. Is there a way to do this? I know ?cat, ?writeLines, ?format, ?paste. But I am not sure of a good combination of these in order to get a nice looking table of information. Any ideas? I guess I want (almost) publication ready output, just
2009 Jan 08
10
help
Hi: I am going through some of the xtable examples and I can't make the one below work. I need to create a longtable on the fly keeping the column headers for all the pages and I thought this example could give some ideas on how to do it. I am using Sweave and xtable to create my tables and graphics. I wonder if someone could tell me what's wrong. Thanks ## Not run: \begin{small}