Hi,

On Thu, Aug 16, 2012 at 2:49 PM, Schumacher, Jay S <j...@neo.tamu.edu> wrote:
>
>
> hi,
>   i'm trying to understand r data structures.  i see that vectors, matrix, 
> factors and arrays have a "dimension."

Out of curiosity, where do you "see" that vectors and factors have a
dimension? I mean -- I guess they're one dimensional, but ...

>   there seems to be no mention of dimensionality anywhere for lists or 
> dataframes.  can i consider lists and frames to be of fixed dimension 2?

data.frames: sure, I guess
lists: no

What would you consider the dimension of this list to be:

x = list(a=1:10, b='hello', c=matrix(1:100, nrow=10))

-steve

-- 
Steve Lianoglou
Graduate Student: Computational Systems Biology
 | Memorial Sloan-Kettering Cancer Center
 | Weill Medical College of Cornell University
Contact Info: http://cbio.mskcc.org/~lianos/contact

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to