On Thu, Aug 16, 2012 at 4:50 PM, Schumacher, Jay S <j...@neo.tamu.edu> wrote: > > are these correct/accurate/sensible statements: > > a vector is a one dimensional object. > a matrix is a two dimensional object. > > a list is a one dimensional object. > > i'm working from this web page: > http://www.agr.kuleuven.ac.be/vakken/statisticsbyR/someDataStructures.htm >
I would say not (personally) -- not everything has a dimension in R (everything does have a length though). To wit, x <- 1:4 is.vector(x) # TRUE dim(x) # NULL length(dim(x)) # 0 Michael ______________________________________________ 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.