Re: [R] list concatenation

2011-01-12 Thread Georg Otto
Bert Gunter gunter.ber...@gene.com writes: Lists are (isomorphic to) trees with (possibly) labelled nodes. A completely general solution in which two trees have possibly different topologies and different labels would therefore involve identifying the paths to leaves on each tree, e.g. via

[R] list concatenation

2011-01-11 Thread Georg Otto
Dear R gurus, first let me apologize for a question that might hve been answered before. I was not able to find the solution yet. I want to concatenate two lists of lists at their lowest level. Suppose I have two lists of lists: list.1 - list(I=list(A=c(a, b, c), B=c(d, e, f)),

Re: [R] Find in R and R books

2010-11-22 Thread Georg Otto
Alaios ala...@yahoo.com writes: Also when I try to search in google using for example the word R inside the search lemma I get very few results as the R confuses the search engine. When I was looking something in matlab ofcourse it was easier to get results as the search engine performs

Re: [R] Latex and r

2010-06-16 Thread Georg Otto
moleps mole...@gmail.com writes: Apparently you don't have xdvi installed on your system. HTH Georg Dear R´ers I´m trying to get a summary table using latex and summary in the rms package to no avail. I´m running R 2.10.1, Mac OS X snow leopard and I have the mactex 2009 distribution

[R] Sweave figure

2008-07-09 Thread Georg Otto
Hi, I have a problem using figures in Sweave: To save my figures, I use \SweaveOpts{prefix.string=figures/figure} I adjust the figure size for my pdf document using graphicsFun, fig=TRUE, echo=FALSE, height=10, width=5, eval=TRUE= this works fine. The file figures/figure-graphicsFun.pdf

Re: [R] applying a function recursively

2008-06-12 Thread Georg Otto
Ripley [EMAIL PROTECTED] writes: See ?rapply On Wed, 11 Jun 2008, Georg Otto wrote: Hi, I have a question about applying a function recursively through a list. Suppose I have a list where the different elements have different levels of recursion: test.list-list(I=list(A=c(a, b, c), B=c(d, e

[R] applying a function recursively

2008-06-11 Thread Georg Otto
Hi, I have a question about applying a function recursively through a list. Suppose I have a list where the different elements have different levels of recursion: test.list-list(I=list(A=c(a, b, c), B=c(d, e, f), C=c(g, h, i)), + II=list(A=list(a=c(a, b, c), b=c(d, e, f), +

Re: [R] legend for several graphics

2008-03-07 Thread Georg Otto
Thanks a lot, John, Gavin; Hadley and Greg, for your helpful comments and suggestions. I finally achieved what I wanted using the suggested method from Gavin with corrections from Greg. Out of curiosity (and interest to learn): Hadley, how would you simplify that code using lattice or ggplot and

[R] legend for several graphics

2008-03-05 Thread Georg Otto
Hi, I am trying to generate a figure of 9 plots that are contained in one device by using par(mfrow = c(3,3,)) I would like to have 1 common legend for all 9 plots somewhere outside of the plotting area (as opposed to one legend inside each of the 9 plots, which the function legend() seems to

Re: [R] Interpretation of log odds

2008-02-12 Thread Georg Otto
Dear Corinna, please do post questions related to bioconductor packages directly to the bioconductor mailing list. You will have a much higher chance to get a helpful answer. The B-statistic is explained best explained in the limma user guide (chapter 10), which comes with the limma package or