Print a 3*4 array of three dimensions, which has the input of vectors sequencing from 13554:13590 and index the second row and third column element of third dimension of the array.
Print a 3*4 array of three dimensions, which has the input of vectors sequencing from 13554:13590 and index the second row and third column element of third dimension of the array.
How many 3*4 arrays is in 13554:13590:
13590 - 13554
[1] 36 # so 3, our dimensions are [3,4,3]
array(data=c(13554:13590), dim=c(3,4,3))
, , 1
[,1] [,2] [,3] [,4]
[1,] 13554 13557 13560 13563
[2,] 13555 13558 13561 13564
[3,] 13556 13559 13562 13565
, , 2
[,1] [,2] [,3] [,4]
[1,] 13566 13569 13572 13575
[2,] 13567 13570 13573 13576
[3,] 13568 13571 13574 13577
, , 3
[,1] [,2] [,3] [,4]
[1,] 13578 13581 13584 13587
[2,] 13579 13582 13585 13588
[3,] 13580 13583 13586 13589
# save your array to variable
a <- array(data=c(13554:13590), dim=c(3,4,3))
> a[2,3,3] # if a were matrix, order of dims is row, col, then which(here 3)
[1] 13585
Welcome to Stackoverflow. Also good to show what you've tried that perhaps wasn't working for you or was confusing.