Here is something to try:
> result <- list()
> for (i in 1:2){
+ for (j in 1:2){
+ result[[paste(i, j, sep="|")]] <- rep(i,j)
+ }
+ }
>
> result
$`1|1`
[1] 1
$`1|2`
[1] 1 1
$`2|1`
[1] 2
$`2|2`
[1] 2 2
On Tue, Oct 7, 2008 at 11:01 AM, Mark Kimpel <[EMAIL PROTECTED]> wrote:
> I
I am performing many permutations on a data-set with each permutation
producing a variable number of results. I thought that the best way to keep
track of all this in one object would be with a list ('res.lst'). To address
these variable results for each permutation I attempted to construct this
li
2 matches
Mail list logo