Skip to content

Accessing matrix elements

1 message · R. Michael Weylandt

#
This really isn't a question for the R-SIG-Mac list, since it's not OS
specific; you might send this to R-Help.

That's not a matrix -- just how the print statement works. E.g., if I
print a long vector (1:1000) you'll see those little [1] boxes showing
up on each line to indicate position. Note the result of
is.matrix(x[1,1])

Incidentally, keep in mind that *everything* including scalars and
matrices in R is a vector so "pure elements" are themselves vectors.

Hope this
On Sun, Apr 8, 2012 at 5:55 PM, Holger Schulz <qdl at gmx.net> wrote: