Re: [R] problem in do.call function

2011-08-08 Thread Duncan Murdoch
On 08/08/2011 8:21 AM, Duncan Murdoch wrote: On 08/08/2011 4:34 AM, Kathie wrote: > Dear all, > > I am trying to use "do.call", but I don't think I totally understand this > function. > > Here is an simple example. > > > > > B<- matrix(c(.5,.1,

Re: [R] problem in do.call function

2011-08-08 Thread Duncan Murdoch
On 08/08/2011 4:34 AM, Kathie wrote: Dear all, I am trying to use "do.call", but I don't think I totally understand this function. Here is an simple example. > B<- matrix(c(.5,.1,.2,.3),2,2) > B [,1] [,2] [1,] 0.5 0.2 [2,] 0.1 0.3 > x<

[R] problem in do.call function

2011-08-08 Thread Kathie
Dear all, I am trying to use "do.call", but I don't think I totally understand this function. Here is an simple example. > B <- matrix(c(.5,.1,.2,.3),2,2) > B [,1] [,2] [1,] 0.5 0.2 [2,] 0.1 0.3 > x <- c(.1,.2) > X <- cbind(1,x) > X