Displaying 5 results from an estimated 5 matches for "latexfinecontrol".
2005 Dec 15
2
Hmisc latex cell background color
Dear latex/R-Sweavers,
Using the codel below, I can color text in individual cells for latex
output.
Is there a similar way to get a background shading? 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]
2008 Oct 18
0
Several problems with hmisc latex function
..., 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 <- letters[1:6]
x <- data.frame(x, y)
cell.format <- matrix(rep("", NCOL(x) * NROW(x)), ncol = NCOL(x))
cell.format[1,1]<-"bfseries"
latex(x, file = "", cgroup = c("Group A", "Group B", "Group...
2008 Jul 21
2
Output Nicely formatted tables from R
Hi there,
I've spent a while searching for ways of outputting table data from R in
presentable formats, such as colored backgrounds for column headings, bold
fonts etc. It appears that this is not possible, but I would be interested
to learn if in fact there was a way of achieving this.
Many thanks!
[[alternative HTML version deleted]]
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)
2005 Apr 26
2
how to modify and compile R sourse codes
Dear All:
I am working on writing some R functions to make statistical reports automatically. Dr. Harrell's Hmisc has all the wonderful stuff. But sometimes I need change some formats, so I want to read through it and make some modifications to fit my project.
Ideally, I want proceed as following:
1. change some source of Hmisc
2. compile and install the modified Hmisc
3. debug my