similar to: getting line breaks with xtable

Displaying 20 results from an estimated 3000 matches similar to: "getting line breaks with xtable"

2008 Sep 09
6
plotting group means
Hi all, I want to plot the grouped means of some variables. The dependent variables and the grouping factor are stored in different columns. I want to draw a simple line-plot of means, in which the x-axis represents the variables and y-axis represents the means. The means of the groups should be connected by lines. So far, the only function that I could find comes closest to what I'm
2010 May 12
1
Input encoding problem when using sweave with xetex
Hello Because I want to use different true type fonts with latex, I''m using the XeTeX typesetting engine for my sweave-documents. I''m using Lyx with Sweave on a Windows 7 PC and have set up LyX to work with XeTeX according to the following instructions: http://wiki.lyx.org/LyX/XeTeX Because the input file for XeTeX is assumed to be in UTF-8 encoding, I set the encoding
2009 Feb 27
2
Adjusting confidence intervals for paired t-tests of multiple endpoints
Dear R-users, In a randomized placebo-controlled within-subject design, subjects recieved a psycho-active drug and placebo. Subjects filled out a questionnaire containing 15 scales on four different time points after drug administration. In order to detect drug effects on each time point, I compared scale values between placebo and drug for all time conditions and scales, which sums up to
2008 Sep 08
2
How to preserve date format while aggregating
Hi I have a dataframe in which some subjects appear in more than one row. I want to extract the subject-rows which have the minimum date per subject. I tried the following aggregate function. attach(dataframe.xy) aggregate(Date,list(SubjectID),min) Unfortunately, the format of the Date-column changes to numeric, when I'm applying this function. How can I preserve the date format? Thanks
2008 Dec 19
1
diagonal lines in legends of ggplot2
Hi, I have the following problem with ggplot2: When I specify black contours for bars in a barplot, ggplot automatically shows diagonal lines in the legend boxes. Is there a way, to remove these diagonal lines? Here's a simple example: library(ggplot2) df<-data.frame(x=gl(6,1),y=rnorm(6,100,50)) ggplot(df,aes(y=y,x=x,fill=x))+geom_bar(aes(group=x),colour='black',size=1)+
2010 Sep 23
1
How to pass a model formula as argument to with.mids
Hello I would like to pass a model formula as an argument to the with.mids function from the mice package. The with.mids functon fits models to multiply imputed data sets. Here's a simple example library(mice) #Create multiple imputations on the nhanes data contained in the mice package. imp <- mice(nahnes) #Fitting a linear model with each imputed data set the regular way works
2009 Jun 19
0
Sweave and xtable floating issues -- SOLVED
Dear all, I've recently made in LyX a report using Sweave and run into troubles with xtable() generated LaTeX tables. One example, xtable() commands inside floats (table, box (minipage), etc.) will make the LaTeX compilation fail. Another, if four-five xtable() commands are run in a sequence, at least one of the generated tables will strangely hop onto the next page. The culprit is that
2007 Dec 05
1
alternatives to latex() or xtable() ?
Hello everyone, I have several problems with exporting to LaTeX the output of numSummary() from the abind package. > numSummary(finance[,"Cash_flow"], statistics=c("mean", "sd", "quantiles")) mean sd 0% 25% 50% 75% 100% n NA 188070.9 414771.9 -426804 26743 53866 150975.5 1871500 54 4 >
2008 Sep 16
0
How to get line breaks with xtable
Hi, I'm using the xtable function with Sweave and Lyx. The table that I'd like to display has very long string characters in one column. Is there a way to get automatic line breaks for the strings in that column with xtable? Thanks for your help! Erich
2005 Jul 27
4
LyX and Sweave
>>>>> On Mon, 25 Jul 2005 14:12:41 +0200, >>>>> Gorjanc Gregor (GG) wrote: > Hello R-users! > I have tried to use Sweave within LyX* and found two ways to accomplish > this. I have attached LyX source file for both ways as well as generated > PDFs. I have copied Gregor's files at http://www.ci.tuwien.ac.at/~leisch/Sweave/LyX for those who
2008 May 26
1
Sweave does not respect width
Hello, I'm learning to use Sweave, and I've run into a problem: sometimes, when entering long lines of input and using long variable names, Sweave will not insert linebreaks in a way that respects the width setting. This causes undesirable overflows into the margins in the latex file. For example, consider the following document (adapted from the GLM example): \documentclass{article}
2010 Apr 08
1
texi2dvi runs but produces no output
I am working on a Windows XP machine with R 2.10.1 and a recent installation of MiKTeX 2.8. I use LyX (www.lyx.org) to write documents and have it set up to run Sweave, Stangle, and make the PDF through R using a batch script and a MakeSweave.R file. This system worked just fine until I ran some MiKTeX updates yesterday. This is a bit embarrassing as I helped produce a "How-to" guide to
2012 Feb 14
3
configure lyx2.0.2 with sweave in windows 32 bit.
I am using R 2.14.1. I am trying to configure Lyx with Sweave. I have read articles but I found none to be complete and I cannot import sweave document in lyx . Can anyone please help me with a stepwise procedure how to configure Lyx with Sweave so that I can run my R-code chunks from LYX ,the output being a pdf.? Thanks in advance. -Atanu -- View this message in context:
2012 Sep 09
4
[PATCH] virtio-spec: serial: english tweak
"A number of virtqueues are created" seems clearer than "the number of virtqueues": it's virtqueues that are created not the number. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- I'm not a native english speaker but the below seems correct to me. Rusty? virtio-spec.lyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git
2012 Sep 09
4
[PATCH] virtio-spec: serial: english tweak
"A number of virtqueues are created" seems clearer than "the number of virtqueues": it's virtqueues that are created not the number. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- I'm not a native english speaker but the below seems correct to me. Rusty? virtio-spec.lyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git
2009 Jun 12
2
Sweave recode(car) and Lyx, compiling but not executing on Mac
I am just beginning to use Sweave with Lyx on a Mac (R2.8.1). I have 12 chunks of Sweave code that work fine, but this piece: <<>>= library(car)
2013 May 20
1
[PATCH] virtio-spec: tweak wording for console control vq
control vq is only used if feature bit is negotiated - it's not enough that device supports it. Clarify this in the spec. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- virtio-spec.lyx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index 921388b..3ef96a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@
2013 May 20
1
[PATCH] virtio-spec: tweak wording for console control vq
control vq is only used if feature bit is negotiated - it's not enough that device supports it. Clarify this in the spec. Signed-off-by: Michael S. Tsirkin <mst at redhat.com> --- virtio-spec.lyx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/virtio-spec.lyx b/virtio-spec.lyx index 921388b..3ef96a9 100644 --- a/virtio-spec.lyx +++ b/virtio-spec.lyx @@
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 <-
2011 Nov 15
3
Sweave and accented letters
I often use Lyx/Sweave and I typically write in english. Today I had to write a document in Italian and, as many of you know, many italian popular words use ?, ?, ?. ?, etc. I discovered that if I type in Italian (that is there is at least one letter with accent) with the Sweave module selected lye is not able to correctly compile the document. I tried to change the input encoding, but it