Displaying 1 result from an estimated 1 matches for "masterlist".
Did you mean:
master_list
2011 Feb 17
1
Populate a list / recursively set list values to NA
Hello all,
Maybe I'm being thick, but I was trying to figure out a simple way to create
a list with the same dimension of another list, but populated with NA
values.
masterlist = list(
aa=list(
a=matrix(rnorm(100),10,10),
b=matrix(rnorm(130),13,10),
c=matrix(rnorm(140),14,10)),
bb=list(
a=matrix(rnorm(100),10,10),
b=matrix(rnorm(110),11,10),...