Читать книгу The Big R-Book - Philippe J. S. De Brouwer - Страница 74
4.3.5.3 Manipulating Arrays
ОглавлениеUsing arrays and accessing its elements is in many aspects similar to working with matrices.
M1 <- a[,,1] M2 <- a[,,2] M2 ## col1 col2 col3 ## R1 1 10 12 ## R2 1 11 13