Skip to content
Back to formatted view

Raw Message

Message-ID: <200306111343.00568.anna@ptolemy.arc.nasa.gov>
Date: 2003-06-11T20:43:00Z
From: Anna  H. Pryor
Subject: indexing into a list

I am trying to make an array of lists.  I don't think that I am doing it right 
however because I cannot access the individual elements of the lists once I 
have created the array of lists.  Can someone help?


for(i in 1:3){
     y[[i]] =  list(name[((i-1)*index+1):(i*index)])
   }

Anna