Skip to content
Prev 303543 / 398503 Next

r data structures

On Thu, Aug 16, 2012 at 4:50 PM, Schumacher, Jay S <jays at neo.tamu.edu> wrote:
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