Skip to content
Prev 140284 / 398506 Next

Dimensions of a List

Thanks a lot for your reply...Exactly...I need the same...But can I store these numbers and hence can access further? In other words how do I extract the numbers/dimensions from this class?

Shubha Karanth | Amba Research
Ph +91 80 3980 8031 | Mob +91 94 4886 4510 
Bangalore * Colombo * London * New York * San Jos? * Singapore * www.ambaresearch.com

-----Original Message-----
From: jim holtman [mailto:jholtman at gmail.com] 
Sent: Tuesday, March 25, 2008 9:21 PM
To: Shubha Vishwanath Karanth
Cc: r-help at stat.math.ethz.ch
Subject: Re: [R] Dimensions of a List

Is this what you want?
List of 2
 $ :List of 3
  ..$ : num [1:2] 1 2
  ..$ : num [1:2] 4 5
  ..$ : num [1:2] 6 7
 $ :List of 2
  ..$ : num [1:3] 11 22 33
  ..$ : num [1:3] 44 55 66

        
On 3/25/08, Shubha Vishwanath Karanth <shubhak at ambaresearch.com> wrote: