Displaying 20 results from an estimated 2000 matches similar to: "Hmisc latex cell background color"
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]
2009 Jan 22
2
"latex" in Hmisc: cell formating
Hi list,
Could you explain the error I see here? Thanks!
## I'm using R 2.8.0 on WinXP, Hmisc_3.4-3
> table1 <- matrix(10, 180,7)
> cell.format <- matrix("", ncol=7, nrow=180)
> cell.format[c(seq(3,180,6),seq(4,180,6)),] <- "color{red}"
> cell.format[c(seq(5,180,6),seq(6,180,6)),] <- "color{green}"
>
> latex(table1,
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
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)
2014 Dec 03
1
tinc vpn: adding dscp passthrough (priorityinherit), ecn, and fq_codel support
On Wed, Dec 3, 2014 at 4:02 AM, Guus Sliepen <guus at tinc-vpn.org> wrote:
> On Wed, Dec 03, 2014 at 12:07:59AM -0800, Dave Taht wrote:
>
> [...]
>> https://github.com/dtaht/tinc
>>
>> I successfully converted tinc to use sendmsg and recvmsg, acquire (at
>> least on linux) the TTL/Hoplimit and IP_TOS/IPv6_TCLASS packet fields,
>
> Windows does not have
2014 Dec 03
0
tinc vpn: adding dscp passthrough (priorityinherit), ecn, and fq_codel support
On Wed, Dec 03, 2014 at 12:07:59AM -0800, Dave Taht wrote:
[...]
> https://github.com/dtaht/tinc
>
> I successfully converted tinc to use sendmsg and recvmsg, acquire (at
> least on linux) the TTL/Hoplimit and IP_TOS/IPv6_TCLASS packet fields,
Windows does not have sendmsg()/recvmsg(), but the BSDs support it.
> as well as SO_TIMESTAMPNS, and use a higher resolution internal
2012 Dec 02
2
finding index of maximum value in vector
I found:
max.col(matrix(c(1,3,2),nrow=1))
Is there a more concise/elegant way?
Thanks,
-----
TO GET MORE DETAILS CLICK HERE
--
View this message in context: http://r.789695.n4.nabble.com/finding-index-of-maximum-value-in-vector-tp4651663.html
Sent from the R help mailing list archive at Nabble.com.
2005 Dec 02
1
Sweave: How can I include S input in paragraph mode
Sweavers
As the title suggests I would appreciate any help to include S code in
ordinary paragraph mode. I can use the textsl font but is isn't the
same.
Thanks
Ross Darnell
2006 Oct 28
1
(kein Betreff)
Frank Harrell rote in a message dating from Oct 8th:
> n.group is an argument to latex.default in the Hmisc package
I must admit that I can't find it in the function head,
which reads on my installation:
function (object, title = first.word(deparse(substitute(object))),
file = paste(title, ".tex", sep = ""), append = FALSE, label = title,
rowlabel = title,
2014 Dec 03
0
[Cerowrt-devel] tinc vpn: adding dscp passthrough (priorityinherit), ecn, and fq_codel support
On Wed, Dec 3, 2014 at 6:17 AM, David P. Reed <dpreed at reed.com> wrote:
> Tor needs this stuff very badly.
Tor has many, many problematic behaviors relevant to congestion control
in general. Let me paste a bit of private discussion I'd had on it in a second,
but a very good paper that touched upon it all was:
DefenestraTor: Throwing out Windows in Tor
2014 Dec 03
3
tinc vpn: adding dscp passthrough (priorityinherit), ecn, and fq_codel support
I have long included tinc in the cerowrt project as a lighter weight,
meshy alternative to conventional vpns.
I sat down a few days ago to think about how to make vpn connections
work better through fq_codel, and decided I should maybe hack on a vpn
to do the job. So I picked up tinc's source code for the first time,
got it working on IPv6 as a switch in a matter of minutes between two
2012 Dec 02
2
How to simulate correlated data
Hello there,
I would like to simulate X --Normal (20, 5)
Y-- Normal (40, 10)
and the correlation between X and Y is 0.6. How do I do it in R?
Thank you very much
-----
TO GET MORE DETAILS CLICK HERE
--
View this message in context: http://r.789695.n4.nabble.com/How-to-simulate-correlated-data-tp4651667.html
Sent from the R help mailing list archive at
2012 Dec 03
2
How to make the cell background of a table informative?
I wish to create a table in which the foreground is a number (abundance) but
the background is a visual representation of a ratio (shallow:deep). In
other words, the background of each cell of the table would be two colours
or patterns set in a similar fashion to a stacked bar in a bar graph based
on a secondary parameter/vector.
The table will be extensive (15 by 30) and so I don't want to
2006 Dec 25
1
Hmisc - some latex problems
If I use latex with describe:
(faithful is the Old faithful data)
latex(describe(faithful),file="describe.tex")
then the first few lines of describe.tex are
\begin{spacing}{0.7}
\begin{center} \bf faithful \\ 2 Variables~~~~~ 272 ~Observations
\end{center}
I have two problems. First, I don't know what package
the environment "spacing" comes from. (There is also a
2010 Feb 26
1
wrap long lines in table using "latex" in Hmisc
Hi list,
Is there a way to control long-line wrapping in a table using "latex" function in Hmisc or any other functions?? It seems I can't find any examples.
Thank you very much!
...Tao
_________________________________________________________________
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
2009 Mar 03
0
Two Column-group names using Latex(Hmisc)
Hi,
Using the following code I can generate the attachment "Original.pdf":
latex(test, file="C:/Documents and Settings/darej/My
Documents/James/READY.tex",
title = "",
rowname = NULL,
cgroup = c("Fishstock", stocknames),
n.cgroup = c(1, rep(2,nostocks)),
colheads = c("Year", rep(c("Catch",
2007 Apr 27
1
Not showing dvi with Hmisc latex()
Hi,
I'm using latex() from Frank Harrell's Hmisc library to produce LaTeX
files. By default, it calls xdvi and displays the dvi.
How can I make xdvi not show? I couldn't find a clue in the extensive
documentation.
Thanks,
Gad
ps: Hmisc 3.3-1 on R 2.5.0 for Linux.
--
Gad Abraham
Department of Mathematics and Statistics
The University of Melbourne
Parkville 3010, Victoria,
2012 May 04
0
latex, Hmisc with MikTeX 2.8 produced "n&missing&unique" output
Hi -
So when I run the following, I get a strange formatting output with MikTeX, and I am unsure if the behavior is due to R, Hmisc, or MikTeX or both:
dfr <- data.frame(x=rnorm(400),y=sample(c('male','female'),400,TRUE))
latex(describe(dfr))
What happens is that the x column is summarized in the output of latex correctly. Then the y summary ends up looking like:
2005 Mar 18
0
Hmisc & latex
Hmisc includes a latex function which typesets objects in latex. A
great time saver.
I am using it to create a large number of tables in a loop in conjuction
with prettyNum to place '000s separators in the numbers (i.e. 1,000,000
not 1000000). This converts the numbers to strings. The Hmisc/latex
default is to left justify characters - which doesn't work in this case.
Hmisc/latex
2006 Nov 06
0
Hmisc, latex cdec not as expected
Hello all.
I have encountered at problem when using the Hmisc package to generate
latex-tabels.
I can't seem to control the number of digits in the latex-file. I have
used the Design and Hmisc packages for a while without this problem, but
after upgrading to R-2.4.0 the problem has occured.
I have mad a clean installation where I uninstalled all earliere version
of R, and I