Re: [R] array of arrays

2008-06-09 Thread Michael Prince
ray. > 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 Gui

Re: [R] vector comparison

2008-06-05 Thread Michael Prince
Hello Karin This is your code : a = c("a") b = c("b","c") c = c("c","b") if (a==a) show("yes") else show("blah") if (a==b) show("yes") else show("blah") if (b==c) show("yes") else show("blah") Have a look at the conditions (a==b) and (b==c) > a==b [1] FALSE FALSE > b==c [1] FALSE FALSE They ar

[R] array of arrays

2008-06-04 Thread Michael Prince
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 wor