Displaying 20 results from an estimated 300 matches similar to: "(kein Betreff)"
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
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',
2005 Aug 30
1
Convert ftable to latex?
Dear list,
I cannot make the latex command to output a ftable objet the way I
want it. Is it posible?
I found a post in the archives saying that one should use the rgroup
and n.rgroup arguments to supply the row names, but so far I have been
unsuccessful.
This is what I have:
>
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
Dear all,
I did post this more or less identical mail in a follow up to another
question I posted, but under another heading. I try again, but now
under the correct header.
upon running this code (from the Hmisc library-latex function) I
believe the call to summary.formula is allright and produces wonderful
tables, but the latex command results in a correct formatted table but
where all the
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>
2003 Jun 13
1
problem with latex of object summary reverse
Hi,
I have the following problem (library Hmisc loaded,
iris data loaded, R Version 1.7.0 (2003-04-16), packages
updated, running on a linux Debian i386):
> summary(Species~Sepal.Length,method="reverse")->a
> a
Descriptive Statistics by Species
+------------+-----------------+-----------------+-----------------+
| |setosa |versicolor |virginica
2009 Aug 19
2
[Hmisc] latex() with ctable=T inserting unwanted empty line in .tex file when used on summary.formula(method="reverse") object
Dear useRs,
When I'm using Hmisc's latex() function with ctable=TRUE on a summary.formula with method="reverse" object and saving in a .tex file, the latter contains an unwanted empty line which makes compilation fail.
Here is a brief example :
library(Hmisc)
test <- data.frame(a=sample(1:30,10),b=sample(c("good","bad","ugly"),10,replace=T))
2011 Aug 31
1
Hmisc Latex Question: column headings and Major Column Headings not properly alligned
Dear R users:
When I create a table without Major Column headings, my *regular* column headings appear correct in the typeset latex file. The major row heading and row groups are as they should.
w <- latex(mytab,title="",file="tab/my.tex",ctable=TRUE,caption="Descriptive statistics by
2004 Sep 26
2
Sweave: superfluous newline (`\\') in tex file
Hi,
I'm having trouble sweaving the following example:
--8<------------------------schnipp------------------------->8---
\documentclass{article}
\begin{document}
\SweaveOpts{echo=FALSE}
@
<<>>=
rm(list=c(ls()))
library(Hmisc)
library(ISwR)
data(energy)
energy$log <- log(energy$expend)
attach(energy)
@ %def
@
<<results=tex>>=
mysum <- summary(stature ~
2013 Mar 15
2
latex(test, collabel=) returns wrong latex code?
Hello:
I'm working with a 2-dimensional table that looks sort of like test below.
I'm trying to produce latex code that will add dimension names for both the rows and the columns.
In using the following code, latex chokes when I include collabel='Vote' but it's fine without it.
The code below prouces the latex code further below. I'm confused by this, because it looks
2008 Oct 17
1
R-code in Latex --- $ sign causes error
hi,
here's what i have:
\lstset{
basicstyle=\ttfamily,
keywordstyle=\bfseries,
showstringspaces=false,
columns = fullflexible,
mathescape = true,
language=R
}
\begin{lstlisting}
lst$val<-val
\end{lstlisting}
./software.tex:16:Extra }, or forgotten \endgroup. lst$
the culprit here is the $ sign.
thanks.
ps:
i'm posting here rather than Latex is bec i guess an R user is
2006 Nov 09
1
Fwd: (kein Betreff)
Perhaps someone can help this poor soul out? I don't *think* it was
just spam to webmaster, but it's hard to tell through the [lack of
coherent] grammar.
Monty
---------- Forwarded message ----------
From: Hosting and More <info@hostingandmore.de>
Date: Nov 6, 2006 3:20 PM
Subject: (kein Betreff)
To: webmaster@xiph.org
RadioStreams rent hello We at the moment, unfortunately,
2010 Jun 16
2
Backslash in paste() function
Hi,
I'm trying to build a vector of latex commands. However, I need the command strings to begin with a backslash "\". I have:
test <- c('foo','bar')
and I need to rebuild the array, encapsulating the text items with latex stuff, like this:
paste("\parbox[b]{3cm}{", test, "}", fill=TRUE)
Actually, cat() prints the string fine if one uses
2011 Apr 09
1
Trouble with Sweave and Beamer
Dear All,
I am running Debian testing on my box and I installed latex and R from
the standard repositories.
I am trying my hands at sweave, but somehow I am experiencing problems
(I am trying to use beamer and Sweave). Please see the snippet at the
end of the email and saved as report.Rnw.
When I run the command
$ R CMD Sweave report.Rnw
Writing to file report.tex
Processing code chunks ...
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,
2009 Apr 23
0
latex(Hmisc): cgroup + rownames shifts column names
I have submitted this as a bug
(http://biostat.mc.vanderbilt.edu/trac/Hmisc/ticket/29) but I am
wondering if anyone else has seen it or perhaps developed a
workaround. I could certainly fix the LaTeX by hand, but I am using
this inside Sweave, so it is a bit cumbersome. The exact same code
used to work fine, but something changed underneath it. Even so,
perhaps I am using the latex() command
2009 May 07
0
Hmisc::latex() help
Dear R-helpers,
I have a data frame (info[[j]]) that looks like this:
necklace originalPosition same run surprise1 pair surprise2
triple surprise3
1 1 1 0 2 2.709511 11
4.81884167930642 110 2.70951129135145
2 1 2 0 2 2.709511 10
1 000 1
3 0 3 NA NA
2012 Nov 01
1
How to nicely display R code with the LaTeX package 'listings'?
Dear expeRts,
What's a 'good' (nice-looking, easy-to-read) setup for the LaTeX package
'listings' to display R code?
The two versions below are partly inspired by the settings of the package
SweaveListingUtils and
http://r.789695.n4.nabble.com/R-How-to-format-R-code-in-LaTex-documents-td816055.html
Any suggestions, comments, or improvements are welcome.
Cheers,
Marius
###
2012 May 02
1
Hmisc's latex: na.blank and grouping not working as expected
Dear expeRts,
Why does na.blank=TRUE not replace the NA's in the following LaTeX table?
x <- matrix(1:72, ncol=4, nrow=8)
colnames(x) <- c("gr1.sgr1", "gr1.sgr2", "gr2.sgr1", "gr2.sgr2")
rn <- apply(expand.grid(beta=c(0.25, 0.75), n=c(100, 500), d=c(10, 100))[, 3:1], 2, rmNames)
x <- cbind(rn, x) # append columns containing the row labels
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 <-