search for: booktab

Displaying 18 results from an estimated 18 matches for "booktab".

Did you mean: booktabs
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 \\...
2012 May 02
1
Hmisc's latex: na.blank and grouping not working as expected
...), n=c(100, 500), d=c(10, 100))[, 3:1], 2, rmNames) x <- cbind(rn, x) # append columns containing the row labels x[2,5] <- NA stopifnot(is.na(x[2,5])) require(Hmisc) latex(x, file="", na.blank=TRUE, rowlabel=c("d", "n", "beta"), booktabs=TRUE) In the end, I would like to have the columns displayed in groups like this: Group 1 Group 2 d n beta Sub-group 1 Sub-group 2 Sub-group 1 Sub-group 2 10 100 0.25 1 9 0.75 2 500 0.25 3...
2006 Oct 28
1
(kein Betreff)
...exCmds = NULL, rowname, cgroup.just = rep("c", length(n.cgroup)), colheads = dimnames(cx)[[2]], extracolheads = NULL, extracolsize = "scriptsize", dcolumn = FALSE, numeric.dollar = !dcolumn, cdot = FALSE, longtable = FALSE, draft.longtable = TRUE, ctable = FALSE, booktabs = FALSE, table.env = TRUE, here = FALSE, lines.page = 40, caption = NULL, caption.lot = NULL, caption.loc = c("top", "bottom"), double.slash = FALSE, vbar = FALSE, collabel.just = rep("c", nc), na.blank = TRUE, insert.bottom = NULL, first.hline.dou...
2006 Feb 12
1
Mathematical typesetting of column heads using the latex (Hmisc) function
Dear r-helpers, I would very much appreciate help with the following problem: The following command (in a .Rnw file) latex(anova(e7.lmer3, e7.lmer4), file = 'e7lmer34.tex', rowname = c ('nonlinear', 'linear'), longtable = FALSE, dcolumn = T, booktabs = T, table.env = F) produces the following output after running Sweave: % latex.default(anova(e7.lmer1, e7.lmer2), file = "e7lmer12.tex", rowname = c("nonlinear", "linear"), longtable = FALSE, dcolumn = T, booktabs = T, table.env = F) % \newcolumntyp...
2012 Dec 16
1
lyx knitr y toLatex
Hola. Estoy utilizando lyx con el módulo de knitr y tengo un problemilla con la función toLatex del paquete memisc. Pongo un ejemplo mejor. En Rstudio lo puedo hacer como sigue en un fichero Rnw. y la tabla en el pdf aparece alineada en el pdf. \documentclass{article} \usepackage{booktabs} \usepackage{dcolumn} \begin{document} <<>>= library(memisc) X1 <- rnorm(1000) X2 <- rnorm(1000) X3 <- rnorm(1000) X4 <- rnorm(1000) #Create a relationship to Model: Y <- X1 + 1.8*X2 -.12*X3 + 1.8*X4 + rnorm(1000) Model.1 <- lm(Y ~ X1 + X2) Model.2 <- lm(Y ~ X1...
2006 Mar 13
1
Formatting an anova table using latex
Hi r-helpers, When I issue the command latex(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = 'raw1.tex', rownamesTexCmd = c('baR', 'addit', 'multip'), longtable = F, dcolumn = T, booktabs = T, t able.env = F, colheads = NULL, colnamesTexCmd = c ('', 'df', 'aic', 'bic', 'logl', 'chisq', 'chisqdf', 'prchisq')) I get: % latex.default(anova(raw1.lmer0, raw1.lmer, raw1.lmerI), file = "raw1.tex", rownames...
2012 Feb 07
1
xtable "beta" testing wanted
...* Added "format.args" argument to "print" that 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...
2015 Jun 09
3
Tablas con tabular en latex
...de generar tablas en ficheros pdf (sweave) a través del paquete tables. He mirado que este tema esta activo en las listas pero no logro localizar las respuestas antes dadas, por eso lanzo esta consulta. Mi fichero .rnw tiene el siguiente aspecto: ******* \documentclass{article} \usepackage{array,booktabs,caption} \begin{document} \SweaveOpts{concordance=TRUE} \include{math} <<echo=TRUE>>= save.image() load("./.RData") library("tables") library("xtable") attach(lfebrero) @ \section*{Informe} \subsection*{Llamadas por dia} <<echo=TRUE,results=tex&g...
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
2010 Dec 30
1
latex() etc.: How to nicely format a matrix for a LaTeX document?
...matrix for the first time. I am not sure what the "best" approach is, I just read about latex() 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:...
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
...t;NA> 000 <NA> 8 0 8 NA NA NA 01 <NA> 000 <NA> I produce a LaTeX table with: j <- 1 latex(object = info[[j]], file = paste('info', j, '.tex', sep = ''), rowlabel = NULL, booktabs = TRUE, here = TRUE, caption = paste(df[j, ], collapse = ''), na.blank = TRUE, dcolumn = TRUE, cdec = c(0, 0, 0, 0, 2, 0, 2, 0, 2)) However, na.blank and cdec make no difference, producing: \newcolumntype{.}{D{.}{.}{-1}} \begin{table}[H] \caption{11000000\label{info}} \begin{cent...
2013 Jan 18
0
tables package: How to remove column headings and alignment issues
...right-justification of the entries, however, they are now all wrapped in \multicolumn{1}{c}{...}. Why? Cheers, Marius Here is a .tex wrapper for convenience: \documentclass{article} \usepackage[T1]{fontenc} \usepackage{lmodern} \usepackage[american]{babel} \usepackage{tabularx} \usepackage{booktabs} \begin{document} % put code here \end{document}
2006 Jun 21
3
latex function with lm
Dear R People: I have used the "latex" function from the Hmisc package and it is just great! However, I have a new question regarding that function: is there an option for summary(lm(y~x)), please? There are options for different types of objects, but I didn't see one for that. Maybe I just missed it. Thanks in advance! R for Windows Version 2.3.1 Sincerely, Erin Hodgess
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}
2018 May 29
2
CentOS 7 issues with pdf manual / tex conversion
On 29 May 2018 at 16:37, R P Herrold wrote: | On Tue, 29 May 2018, Dirk Eddelbuettel wrote: | | > On a CentOS 7 machine, I am at a loss with respect to an inability to run a | > full R CMD check as anything involving tex files ends in tears. | | Hi, Dirk | | Have fun at the upcoming conference at UIC | | I seem to have 56 font packages installed under CentOS 7 | locally, but then I work
2018 May 30
0
CentOS 7 issues with pdf manual / tex conversion
...20130427_r30134.el7.noarch texlive-beamer-svn29349.3.26-38.el7.noarch texlive-bera-svn20031.0-38.el7.noarch texlive-beton-svn15878.0-38.el7.noarch texlive-bibtex-bin-svn26509.0-38.20130427_r30134.el7.x86_64 texlive-bibtex-svn26689.0.99d-38.el7.noarch texlive-bookman-svn28614.0-38.el7.noarch texlive-booktabs-svn15878.1.61803-38.el7.noarch texlive-breakurl-svn15878.1.30-38.el7.noarch texlive-caption-svn29026.3.3__2013_02_03_-38.el7.noarch texlive-carlisle-svn18258.0-38.el7.noarch texlive-charter-svn15878.0-38.el7.noarch texlive-chngcntr-svn17157.1.0a-38.el7.noarch texlive-cite-svn19955.5.3-38.el7.noarc...
2018 May 30
2
CentOS 7 issues with pdf manual / tex conversion
...4.el7.noarch | texlive-beamer-svn29349.3.26-38.el7.noarch | texlive-bera-svn20031.0-38.el7.noarch | texlive-beton-svn15878.0-38.el7.noarch | texlive-bibtex-bin-svn26509.0-38.20130427_r30134.el7.x86_64 | texlive-bibtex-svn26689.0.99d-38.el7.noarch | texlive-bookman-svn28614.0-38.el7.noarch | texlive-booktabs-svn15878.1.61803-38.el7.noarch | texlive-breakurl-svn15878.1.30-38.el7.noarch | texlive-caption-svn29026.3.3__2013_02_03_-38.el7.noarch | texlive-carlisle-svn18258.0-38.el7.noarch | texlive-charter-svn15878.0-38.el7.noarch | texlive-chngcntr-svn17157.1.0a-38.el7.noarch | texlive-cite-svn19955.5.3-...