search for: celltexcmd

Displaying 6 results from an estimated 6 matches for "celltexcmd".

Did you mean: celltexcmds
2009 Jan 22
2
"latex" in Hmisc: cell formating
...> latex(table1, where='htbp', long=TRUE, lines.page=1000, size="scriptsize", + cgroup=c("group1","group2"), n.cgroup=c(6,1), + rgroup=c("n=1","n=5","n=10","n=20","n=50"), n.rgroup=rep(36,5), + cellTexCmds=cell.format, numeric.dollar = FALSE) Error in cat(rcellTexCmds[i, colNum], " ", cx[i, colNum], file = file, : subscript out of bounds > > ## if I remove the column name grouping, it works fine! ## > latex(table1, where='htbp', long=TRUE, lines.page=1000, size=&qu...
2005 Dec 15
2
Hmisc latex cell background color
...hading? My attempts failed because I did not get the closing brace at the right place with Hmisc/latex. library(Hmisc) x <- as.data.frame(diag(rnorm(3),nrow=3)) cellTex <- matrix(rep("", NROW(x) * NCOL(x)), nrow=NROW(x)) cellTex[2,2] <- "\color{red}" ct <- latex(x, cellTexCmds = cellTex,numeric.dollar=FALSE) ct$style <- "color" dvi(ct) Dieter
2008 Oct 18
0
Several problems with hmisc latex function
Hi, I'm having several problems with the Hmisc latex function. First, there seems to be a conflict between the cellTexCmds and the cgroupTexComds. When I'm using both at the same time, I get an error message. Here's an example. I just added cellTexComds to the example on page 10 of this document: http://biostat.mc.vanderbilt.edu/twiki/pub/Main/StatReport/latexFineControl.pdf x <- matrix(1:30, ncol = 5) y...
2006 Oct 28
1
(kein Betreff)
...ep = ""), append = FALSE, label = title, rowlabel = title, rowlabel.just = "l", cgroup = NULL, n.cgroup = NULL, rgroup = NULL, n.rgroup = NULL, cgroupTexCmd = "bfseries", rgroupTexCmd = "bfseries", rownamesTexCmd = NULL, colnamesTexCmd = NULL, cellTexCmds = 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, bookt...
2012 Dec 02
0
Hmisc latex cell background color
...? My attempts failed because I did not get the closing brace at the right place with Hmisc/latex. library(Hmisc) x <- as.data.frame(diag(rnorm(3),nrow=3)) cellTex <- matrix(rep("", NROW(x) * NCOL(x)), nrow=NROW(x)) cellTex[2,2] <- "\color{red}" ct <- latex(x, cellTexCmds = cellTex,numeric.dollar=FALSE) ct$style <- "color" dvi(ct) ----- TO GET MORE DETAILS CLICK HERE -- View this message in context: http://r.789695.n4.nabble.com/Hmisc-latex-cell-background-color-tp4651664.html Sent from the R help mailing list archive at Nabble.com.
2008 Jul 04
1
Hmisc latex: table column width
R users, I'm trying to set a column width to one of the columns in a latex table (using Hsmic package, latex function). My intention is to get \begin{tabular}{lp{1.2in}llllll}\hline\hline Here's an example ####### R code ######### DF <- data.frame(Titanic) DF$long <- paste("This is a veeeeeeeeeeryyyyyyyyyy long line") DF <- DF[, names(DF)[c(6,1:5)]] library(Hmisc)