[R] How to get a specific named element in a nested list

2010-11-11 Thread Friedericksen Hope
Hello, I have a nested named list structure, like the following: x - list( list( list(df1,df2) list(df3, list(df4,df5)) list(df6,df7))) with df1...d7 as data frames. Every data frame is named. Is there a way to get a specific named element

Re: [R] How to get a specific named element in a nested list

2010-11-11 Thread Friedericksen Hope
have your reasons to have such a complicated list, but if it were me, I would make it easier to understand and to access (i.e. less nested, max 2 levels) HTH, Ivan Le 11/11/2010 09:05, Friedericksen Hope a écrit : Hello, I have a nested named list structure, like the following: x - list

[R] Visualisation of data structures

2010-11-05 Thread Friedericksen Hope
Hi everyone, I wonder if there is a package or functions to visualize data structures in R? For example I have a list with a lot of data frames - is there a function which plots the elements of the list? Thanks! Best, Friedericksen __

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
of LaTeX packages is covered in Part 2 of the tikzDevice vignette: vignette( 'tikzDevice' ) Hope this helps! -Charlie On Sun, Aug 30, 2009 at 1:14 PM, Friedericksen Hope friedericksen.h...@gmail.com wrote: Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
Dear Paul, thank you very much for your answer. You are right, pdfFonts() solved the problem. :-) I also will try to install the fonts on my system. Thank you! Greetings, basil Paul Murrell wrote: Hi Friedericksen Hope wrote: Hello all, I am trying to use computer modern fonts in my r

Re: [R] Computer Modern Fonts in R graphic

2009-08-31 Thread Friedericksen Hope
and for any information you have the time to provide! -Charlie On Sun, Aug 30, 2009 at 11:00 PM, Friedericksen Hope friedericksen.h...@gmail.com wrote: Dear Charlie, thank you very much for your response. The tikzDevice is a very nice developing thing. I already tried to create my graphic

[R] Computer Modern Fonts in R graphic

2009-08-30 Thread Friedericksen Hope
Hello all, I am trying to use computer modern fonts in my r grahics. I tried to do, as described here: http://www.stat.auckland.ac.nz/~paul/R/CM/CMR.html but unfortunately, it does not work. First of all I downloaded the cm-lgc package and the AFM and PFB-files from the page and put them in

[R] Simulate residuals with different properties for a linear model (regression)

2009-07-20 Thread Friedericksen Hope
Hey guys, for educational purposes I wonder if it is possible to simulate different data sets (or specifically residuals) for a linear regression. I would like to show my students residuals with different means, variances and distributions (normal, but also not normal) in the plots created with

Re: [R] Simulate residuals with different properties for a linear model (regression)

2009-07-20 Thread Friedericksen Hope
Thank you both for your responses and the hints for help! Greetings, Friedericksen Friedericksen Hope wrote: Hey guys, for educational purposes I wonder if it is possible to simulate different data sets (or specifically residuals) for a linear regression. I would like to show my students