similar to: Creating pdf report

Displaying 20 results from an estimated 1000 matches similar to: "Creating pdf report"

2010 Dec 07
2
tableGrob and properties of a cell
Hello there, could you please help to modify gpar() properties of a cell inside tableGrob() output. In the following example I want to have different color for one out of 4 cells require(gridExtra) z<-matrix(1:4,2,2) grid.draw(tableGrob(z)) The only way I found for now how to do it is to do something like this downViewport(current.vpTree()$children[[1]]$children[[6]]$name)
2010 May 31
4
Fancy Page layout
Hi, Working on a report that is going to have a large number of graphs and summaries. We have 80 "groups" with 20 variables each. Ideally, I'd like to produce ONE page for each group. It would have two columns of 10 graphs and then the 5 number summary of the variables at the bottom. So, perhaps the top 2/3 of the page has the graphs and the bottom third has 20 rows of data
2010 Feb 25
2
How to fill in a region with different patterns?
Hi to all, Here is a question which I cannot solve. Appreciate so much for any suggestions! I have a squared region which is irregularly divided into many rectangular patches. Each patch is associated with a value, and two patches possibly share a common value. I hope to fill in each patch a pattern according to its value. For instance, if a patch has value 1, then I fill in that patch
2010 May 18
1
lattice::panel.levelplot.raster too picky with unequal spacing
Dear all, I got a couple of warnings using panel.levelplot.raster, In panel.levelplot.raster(..., interpolate = TRUE) : 'y' values are not equispaced; output will be wrong although I was quite sure my data were equally spaced (indeed, I created them with seq()). A closer look at the source code reveals that the function tests for exact uniformity in grid spacing, if
2010 Mar 10
1
How to take out the content of character string
My question is represented by the following example. For example, I have a character string a, which is defined as AA="list(x=1, y=2)" I want to take out the content of AA by using some function, so that I can obtain the following expression automatically. list(x=1, y=2) Does anyone know how to do it? Thanks a lot, -- View this message in context:
2010 Feb 26
3
Plotting a Trivial Matrix
Dear All, Consider a matrix (N x N) where each entry is either zero or one (can hardly get any simpler). Now, I would like to plot it as a 'chessboard' where every matrix entry is a black (1) or white (0) square. Whatever tool I use to plot it, it should not try to interpolate the data at all. I found some online references http://www.phaget4.org/R/image_matrix.html but probably I can
2010 Mar 05
3
how to make this sequence: 1,2,3,4,5,4,3,2,1
I'm just beginning R, with book Using R for Introductory Statistics, and one of the early questions has me baffled. The question is, create the sequence: 1,2,3,4,5,4,3,2,1 using seq() and rep(). Now, as a programmer, I am punching myself to not be able to figure it out.. I mean, as simple as a for loop, but using seq, I am stumped. I would think c(1:5, 4:1) would be the brute force method
2010 Aug 18
1
Automatically retrieve correct collation
Dear List, consider the following scenario: setClass(Class = "A", representation = representation(B = "B", C = "C")) setClass(Class = "B", representation = representation(C = "C")) setClass(Class = "C", representation = representation(something = "character")) Obviously, the collation for sourcing these defs needs to be: C,
2010 Jul 17
1
Bug 14340 - Symbols() plots with wrongly scaled y-axis
Hello, I submitted this bug report to r-core and got a rejection saying I should post to r-help. This is my first time ever submitting a bug report, so forgive me if I'm using some wrong format. So, here's my bug report: Component: Graphics OS: Mac OS 10.5.8, X11 XQuartz 2.5.0 Summary: In the symbols function of the graphics package, scaling of the y-axis is wrong, causing symbols
2010 Aug 31
4
How to Adaptively Set Up the Coordinate Range of Multiple Graphs in One Figure
Hi, R-Helpers, I would like to ask about multiple graphs in one figure. I tried to execute the following codes. xlim <- c(1,100) ylim <- c(1,4) plot(NA, xlim=xlim, ylim=ylim) > x <- c(1:100) for(j in seq(1,10,by=1)) { y <- j*x^2+log(j) lines(x, y) } In the above codes, I had to arbitrarily set up the coordinate range of the figure in advance before
2010 Mar 02
16
Three most useful R package
Hi R-fans, I would like put out a question to all R users on this list and hope it will create some feedback and discussion. 1) What are your 3 most useful R package? and 2) What R package do you still miss and why do you think it would make a useful addition? Pulling answers together for these questions will serve as a guide for new users and help people who just want to get a hint where to
2011 Jun 02
1
Plotting Data Table
Hi all, So my question is pretty simple, but unfortunately I have not been able to find a good answer after extensive google searches. I am trying to plot an "attractive" data table in R, such as: http://t2.gstatic.com/images?q=tbn:ANd9GcRjfTbTEUWlnb73wtUkY1mbQblWA-2EKEgvTLXGzkqUSpH4mWrk Such data tables are easily done in Excel, but I am trying to automate the entire process in R.
2011 Jan 16
1
grid.table with head of two rows
Hi all, I try to print a table with the grid.draw(tableGrob(...)) function applied to an ftable object. The output only give me a table without colnames either rownames, but with edit.grid() I can add only one of them. And this is the problem, I have a table with a two rows head, like this: 45 o mas Entre 25
2009 Sep 17
3
latex code in R -> convert to pdf
hi, is it possible to convert latex code to pdf in R (like a latex-program would do it)? Is there a package that comes with this capabilities? My problem is that I want to generate tables automatically - and I can't use a latex editor at that computer ... Besides latex ... are there good ways to generate tables in R? thanks for any suggestions!
2011 Dec 07
6
nice report generator?
Hi all, I am looking for recommendations/pointers about best report generator you think that are currently available? i.e. the package that can help turn console output into nice-looking neat report to send to bosses? thanks a lot! [[alternative HTML version deleted]]
2011 Apr 10
3
Adding margin text to lattice graphics
Colleagues I am learning lattice graphics (R 2.12.2; OS X). Several days ago, I inquired about adding margin text to lattice graphics. Jim Price offered a useful reply, suggesting that I add: page = function(page) grid.text('words', x = 0.5, y = 0.01) to my call to the function. The entire function that he suggested was; xyplot(1 ~ 1, par.settings = list(layout.heights =
2011 Oct 05
1
Display a contingency table on the X11 device
Hello, I'd like to output a table to the x11 device, but I can't seem to find an easy way to do it. Specifically, I'd like to display a 2x2 contingency table alongside a graphical plot, but can only see how to output to the console. Is there a library that can do this? Thanks for any suggestions, Parker [[alternative HTML version deleted]]
2012 Aug 13
2
R table as integrable object for large Latex Documents - avoiding SWeave
Hi, I am wondering whether some of you have a pointer to an alternative. I am currently writing my thesis in Latex (several documents), well grown over time, I am sure many of you are familiar with the situation. Likewise I am doing the quantitative analysis with R, and again a lot of lines of more or less wellwritten code. The outputs are graphs (which one can wonderfully integrate as PNG objects
2010 Apr 12
3
Figures within tables [slightly off-topic]
Dear R-listers I am writing a manuscript for a scientific journal in clinical medicine. I have three groups of patients, and I present a 10*3 table of their characteristics in Table 1. Some of their characteristics, e.g. their age, are on a continuous scale, others are dichotomous. I am thinking of presenting the age distribution in each group as miniature graphs, each of which must fit in one
2009 Aug 17
1
help simplifying complex graphic arguments to a function
I'm working on a package to produce graphic displays of 2- and 3-way tables and need some help/advice on how to simplify the specification of a complex argument that gives the drawing details for each cell of the table. Prototypes of two functions, 'tableplot' and 'cellgram' are given below. The essential idea is that for a given table ('values'), the cells can be be