On 07-03-2013, at 17:52, Heath Blackmon wrote:
> I have a large list of matrices and a vector that identifies the desired
> matrices that I would like to rbind. However, I am stuck on how to get
> this to work. I have written some code below to illustrate my problem:
>
> # 3 simple matrices
>
?do.call
## as in
do.call(rbind, list_of_matrices)
## Note that list_of_matrices must be a **list**.
-- Bert
On Thu, Mar 7, 2013 at 8:52 AM, Heath Blackmon wrote:
> I have a large list of matrices and a vector that identifies the desired
> matrices that I would like to rbind. However, I am
-help@r-project.org
Sent: Thursday, March 7, 2013 11:52 AM
Subject: [R] rbind a list of matrices
I have a large list of matrices and a vector that identifies the desired
matrices that I would like to rbind. However, I am stuck on how to get
this to work. I have written some code below to
I have a large list of matrices and a vector that identifies the desired
matrices that I would like to rbind. However, I am stuck on how to get
this to work. I have written some code below to illustrate my problem:
# 3 simple matrices
a<-matrix(1:9,3,3)
b<-matrix(10:18,3,3)
c<-matrix(19:27,3,3)
4 matches
Mail list logo