search for: midrule

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

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 &am...
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
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")),...
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}
2010 Dec 30
1
latex() etc.: How to nicely format a matrix for a LaTeX document?
...x() from Hmisc (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....
2012 Feb 07
1
xtable "beta" testing wanted
...hat can be used to pass additional 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 use...
2006 Mar 13
1
Formatting an anova table using latex
...gin{center} \begin{tabular}{l.......}\toprule \multicolumn{1}{l}{\ }& \multicolumn{1}{c}{\df }& \multicolumn{1}{c}{\aic }& \multicolumn{1}{c}{\bic }& \multicolumn{1}{c}{\logl }& \multicolumn{1}{c}{\chisq }& \multicolumn{1}{c}{\chisqdf }& \multicolumn{1}{c}{\prchisq } \\ \midrule \baR raw1.lmer0 & 4 & 434 & 446 & -213 & & & \\ \addit raw1.lmer & 5 & 436 & 451 & -213 & 0.021 & ~1 & 0.89\\ \multip raw1.lmerI & 6 & 438 & 456 & -213 & 0....
2009 May 07
0
Hmisc::latex() help
...1}{c}{originalPosition}& \multicolumn{1}{c}{same}&\multicolumn{1}{c}{run}&\multicolumn{1}{c} {surprise1}&\multicolumn{1}{c}{pair}&\multicolumn{1}{c}{surprise2}& \multicolumn{1}{c}{triple}&\multicolumn{1}{c}{surprise3}& \multicolumn{1}{c}{necklace}\tabularnewline \midrule 1&1&1&~0&~2&2.71&11&4.81884167930642&110&2.70951129135145\tabularnewline 2&1&2&~0&~2&2.71&10&1&000&1\tabularnewline 3&0&3&&&&00&NA&001&NA\tabularnewline 4&0&4&&&&00&am...
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