powered by
Returns the element of x specified by i.
x
i
element(x, i)
Array of arbitrary dimensionality.
Vector of the same length as x has dimension.
Extract
# NOT RUN { x <- array(1:20, dim=c(2,5,2)) element(x, c(1,4,2)) # }
Run the code above in your browser using DataLab