similar to: OdfWeave and contingency tables

Displaying 20 results from an estimated 2000 matches similar to: "OdfWeave and contingency tables"

2010 Feb 20
1
Contingency Table - output to odfWeave not working for matrix
Hi guys I'm hoping someone can help me with this. It should be easy but it seems to get stuck for no obvious reason! I am trying to set a report up in odfWeave so that we can re-run the same analysis at 3 time points as the data matures and provide an 'instant' report. To simplify the situation we have two pieces of data: site_id (numerical value 1-9) and reaction (categorical Y or
2006 Dec 23
1
bug in odfWeave
Hi, I think there is a minor bug in odfWeave. In the function odfStyleGen, the following line has an extra "=": if(length(grep("italic", thisStyle$fontType))) fontText <- c(fontText, tagattr("fo:font-style=", "italic")) This is creating an error if some text needs to be formatted as italic, since the corresponding entry in
2006 Dec 22
1
odfWeave problem
Hi, I'm trying to customize some formating for a table using odfWeave. I'm having some trouble getting the formatting to work. I've defined the following format defns: origStyleDefs <- getStyleDefs() StyleDefs=origStyleDefs StyleDefs$ArialLeftBold$parentStyleName='' StyleDefs$ArialLeftBold$type='Paragraph' StyleDefs$ArialLeftBold$textAlign='left'
2009 Mar 02
1
Cross Tables with odfTable in odfweave
Hi, I've been trying to prepare some crosstables for some survey questions for a client. I have been using the CrossTable function in the gmodels package. However, this command only seems to be able to create CrossTables in text documents. I've been trying to use odfTable in odfweave to create tables that are standalone objects in the document that I can then convert to other
2009 Jul 06
1
odfWeave: odt-file damaged
Dear all, I am doing my first steps with odfWeave. After running the r code (see below), I am trying to open the ODF-document with open office, but I am getting the error message: "The file is damaged, but it can be repaired". If I confirm the question and repair the file with open office, I can open it with the desired output, which seems to be fine. My system: R Version 2.9.1
2010 Sep 17
1
odfWeave UTF-8 error and latin characters
Hello R masters, I have sent this same message to other lists and none so far could give some light. I was trying to use odfWeave to generate a report from R and Im getting an error that I think is related to latin characters. I looked around and did find some stuff related to this problem about Sweave http://labmoluscos.wordpress.com/2010/02/18/sweave-latex-character-encoding/ but did not find a
2009 Nov 04
1
odfweave table styles
Hello List, Does anyone have examples of custom formatting of tables in odfweave? I know there is an example of this in the formatting.odt file that comes with the package, but running that through odfweave gives the following error: Error: chunk 13 (label=showTableStyles) Error in names(x) <- value : 'names' attribute [1] must be the same length as the vector [0] What I am really
2009 Jan 13
1
odfWeave: Error in matrixPaste(...)
Hello all, I try the follow test with an odf file. *INPUT: teste.odt* <teste, results=xml>>= x <- matrix(rnorm(6), nc=2) xst <- tableStyles(x, useRowNames = TRUE, header = NULL) odfTable(x, styles=xst, colnames = NULL, useRowNames = TRUE) @ and I get this error: *OUTPUT error:* Error: chunk 1 (label=teste) Error in matrixPaste(textStart, textName, textEnd, x, tagEnd, sep =
2011 May 13
1
issue with odfWeave running on Windows XP; question about installing packages under Linux
Good morning R community, I have two questions (and a comment): 1) A problem with odfWeave. I have an odf document with a table that spans multiple pages. Each cell in the table is populated using \sexpr{<R stuff>}. This worked fine on my own machine (windows 7 box using any R2.x.y, for x>=11) and on a colleagues machine (Windows XP box running R2.11.1). However, on a third machine
2007 Jun 05
1
odfTable
Hello, I am using the odfWeave packages; I draw a table using the function odfTable: partCols <- gsub(?\\.?, ? ?, names(partenaires)) odfTable(partenaires, useRowNames = FALSE, colnames=partCols) it's working as I have a table in my output file. I would like to know how to change the background color for the header cells. I assuming i have to use tableStyles, but I don't understand
2009 Oct 08
3
odfWeave & XML error in post-processing
I've been happily building a file with odfWeave, and just as the hour draws nigh for it to be sent off, odfWeave or XML throws the following catastrophic error: ...this is the tail of entirely uneventful processing of input file..... 31 : term xml(label=LR_Fall_Model_Results) 32 : term verbatim(label=LR_Model_Fall_graph) 33 : term xml(label=LR_OMC_tab) 'content_1.xml' has
2006 Nov 24
2
odfTable: how to escape <
Dear All, I'm appreciating odfWeave as a nice reporting tool, but I had some pain in producing tables with odfTable command where the first column began with < or > such as in age class heading, for example: <35 35-39 40-49 50-50 >60 In this case, to avoid a content.xml error, I had to change <35 in less than 35 and > 60 in over 60. Anyone knows how to escape those
2010 Feb 09
1
odfTable: table width and alignment
Dear R and odfWeave users, I am trying to figure out how to control table width and alignment on the page for a table generated by odfTable. Based on reading odfWeave documentation (including formattingOut.odt), here is how I manipulate the styles: st = getStyleDefs() # modify the table style tab = getStyles()$table st[[tab]]$align = "center" # seems to have no effect
2013 Apr 11
3
odfWeave: Some questions about potential formatting options
Hello All, Learning to use the odfWeave package. I really like the package. It has good documentation, makes some very nice looking tables, and seems to have lots of options for customizing output. There are a few things I'd like to do that don't seem to be covered in the documentation though. So I'm not sure if they're possible or not. Here's a list of some things I'd
2010 Apr 28
1
Errors when trying to open odfWeave documents
Hello I tried the odfWeave package today, by running the formatting.odt and example.odt files that are included with the package. They both ran fine, but when I try to open them in my OpenOffice (OpenOffice 3.1.1 on Kubuntu 9.10) I get an error "Format error discovered in the file in sub-document content.xml at 1293,124(row,col)." I also tried to open them in MS Word 2003 (Windows
2010 Mar 17
0
odfWeave: odt-file damaged
Dear all, I'm resurrecting this old post (about 6 monts old, reproduced thereafter) because I have struggled against the same problem and found a solution so that I found it was worth posting for the record. The simple fix when you want to use odfWeave with 7-ZIP as a compressing/decompressing utility under windows is to use the 'x' instead of the 'e' option so as to preserve
2010 Feb 21
1
odfWeave - merged table cells, and adding information like totals and p-values
I'm hoping I'm missing some (probably fundamental basic process) which might make my life easier! Lets assume I have a 3 column table summarizing results from a trial from three arms (Arm A, B and C). For each arm there will be a number of pieces of information to report. The simplest example might be to compare this to the demographic comparisons often seen in clinical traisl where you
2011 Sep 15
1
odfWeave: Combining multiple output statements in a function
What is the correct way to combine multiple calls to odfCat, odfItemize, odfTable etc. inside a function? As an example lets say I have a function that needs to write two paragraphs of text and a list to the resulting odf-document (the real function has much more complex logic, but I don't think thats relevant). My first guess would be: exampleOutput <- function() {
2009 Apr 11
1
Install odfWeave on Ubuntu 8.10 Intrepid Ibex
Hello togheter, I've installed R with this instruction: http://edtechdev.blogspot.com/2009/03/r-in-ubuntu-intrepid.html After that I tried to install odfWeave with this: > install.packages("odfWeave") Then there came this warning: Warnung in install.packages("odfWeave") : Argument 'lib' missing: use '/home/johannes/R/i486-pc-linux-gnu-library/2.8'
2012 May 29
1
odfWeave fails to load
R version 2.15.0 (2012-03-30) Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i386-pc-mingw32/i386 (32-bit) package ?survey? successfully unpacked and MD5 sums checked package ?odfWeave.survey? successfully unpacked and MD5 sums checked > library(odfWeave.survey) Loading required package: odfWeave Error: package ?odfWeave? could not be loaded any