Displaying 1 result from an estimated 1 matches for "13x13x1000x50000".
2012 Feb 22
2
Query: list within a list
Dear R users,
I have difficulty to create a list within a list.
Example: with
> A <- vector(mode="list", 4)
I create a list of 4 elements:
> A
[[1]]
NULL
[[2]]
NULL
[[3]]
NULL
[[4]]
NULL
In each element of this list I can store, for example, a matrix:
A[[1]] <- matrix ...
I need each element of A to be a list (all the lists of the same length), and then store matrices