Extract Elements of an Array
Returns the element of x
specified by i
.
element(x, i)
x |
Array of arbitrary dimensionality. |
i |
Vector of the same length as |
Friedrich Leisch
x <- array(1:20, dim=c(2,5,2)) element(x, c(1,4,2))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.