Thanks to all three of you. I used a 4 dimensional array as you suggested.
I will have to do a lot of loops with loop variables i and j. I should perhaps save my results from time to time, no ? If I need to save "object1" and "object2", the command should be save(object1,object2,file=paste("save",i,j)), right ? Thank you very much P.S. : It is rather usual to have this kind of work to do, isn't it ? If you have any advice, thanks for telling me. 2008/6/5 Patrick Burns <[EMAIL PROTECTED]>: > I think what you want is a 3 or 4 dimensional array. > S Poetry has a chapter on such things. > > It is also possible to have arrays of arrays, but I don't > think that is what you want. > > > Patrick Burns > [EMAIL PROTECTED] > +44 (0)20 8525 0696 > http://www.burns-stat.com > (home of S Poetry and "A Guide for the Unwilling S User") > > Michael Prince wrote: > >> Dear R users, >> >> I want to calculate the bias and variance of an estimator for several >> values >> of two parameters a and b. >> >> For example : >> >> b1 b2 >> a1 bias bias >> variance variance >> a2 bias bias >> variance variance >> >> Can one do array of arrays ? I have tried and it did not work. >> >> Actually I would like to get this array for several values of the number >> of >> observations. That would be an array of arrays of arrays :-) >> >> Maybe there is a better way to do that... >> >> Is there also a way to export arrays to Latex ? >> >> Thank you very much >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> R-help@r-project.org mailing list >> https://stat.ethz.ch/mailman/listinfo/r-help >> PLEASE do read the posting guide >> http://www.R-project.org/posting-guide.html >> and provide commented, minimal, self-contained, reproducible code. >> >> >> >> > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.