[R] list to balanced array

2006-08-16 Thread Spencer Jones
I am working with a large data set of arrivals, for each day I have aggregated the arrivals into hrs (1-24) via: apply(x,2,table). On some days there are zero arrivals during some hours of the day, this leaves me with (I believe) a list of vectors of differnt lengths (see below). [[4]] 1 2 3

Re: [R] list to balanced array

2006-08-16 Thread Dimitris Rizopoulos
, 2006 5:22 PM Subject: [R] list to balanced array I am working with a large data set of arrivals, for each day I have aggregated the arrivals into hrs (1-24) via: apply(x,2,table). On some days there are zero arrivals during some hours of the day, this leaves me with (I believe) a list