Skip to content

Multidimensional numeric structure

1 message · Liaw, Andy

#
Have you gone through `An Introduction to R', or even ?array?

Try:

mycube = array(1:27, c(3, 3, 3))
mycube[1, 2, 3]
mycube[2, , ]
mycube[, 2, ]
etc.

Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}