On Tue, Sep 29, 2009 at 8:05 PM, David Winsemius wrote:
>
> On Sep 29, 2009, at 1:43 PM, Carlos Hernandez wrote:
>
> Dear All,
>> I´m using the following code:
>>
>> all1<-gg2[[1]][[1]]; for(i in 1:48){ all1 <- rbind(all1,gg2[[i]][[1]]) }
>>
>
> Looks to me that you would be getting a duplicate c
On Sep 29, 2009, at 1:43 PM, Carlos Hernandez wrote:
Dear All,
I´m using the following code:
all1<-gg2[[1]][[1]]; for(i in 1:48){ all1 <- rbind(all1,gg2[[i]]
[[1]]) }
Looks to me that you would be getting a duplicate copy of the first
matrix, but aside from that what problems are you expe
Thank you for your quick reply! It works perfectly!
On Tue, Sep 29, 2009 at 7:51 PM, Henrique Dallazuanna wrote:
> Try this;
>
> do.call(rbind, sapply(gg2, '[', 1))
>
> On Tue, Sep 29, 2009 at 2:43 PM, Carlos Hernandez
> wrote:
> > Dear All,
> > I´m using the following code:
> >
> > all1<-gg2[[1
Dear All,
I´m using the following code:
all1<-gg2[[1]][[1]]; for(i in 1:48){ all1 <- rbind(all1,gg2[[i]][[1]]) }
to create a new matrix that contains all the matrices in a list called gg2.
gg2 is a list that looks like
>> gg2
[[1]]
[[1]][[1]]
[[2]]
[[2]][[1]]
.
.
.
[[48]]
[[48]][[1]]
Is the
Try this;
do.call(rbind, sapply(gg2, '[', 1))
On Tue, Sep 29, 2009 at 2:43 PM, Carlos Hernandez wrote:
> Dear All,
> I´m using the following code:
>
> all1<-gg2[[1]][[1]]; for(i in 1:48){ all1 <- rbind(all1,gg2[[i]][[1]]) }
>
> to create a new matrix that contains all the matrices in a list call
5 matches
Mail list logo