This generic function provides array-like access for 3-dimensional data structures. It allows for flexible indexing and subsetting of 3D arrays or array-like objects.
# S4 method for ArrayLike3D,numeric,missing,ANY
[(x, i, j, k, ..., drop = TRUE)# S4 method for ArrayLike3D,matrix,missing,ANY
[(x, i, j, k, ..., drop = TRUE)
# S4 method for ArrayLike3D,missing,missing,ANY
[(x, i, j, k, ..., drop = TRUE)
# S4 method for ArrayLike3D,missing,numeric,ANY
[(x, i, j, k, ..., drop = TRUE)
A subset of the input object, with dimensions depending on the indexing and the `drop` parameter.
The 3-dimensional object to be accessed.
First index or dimension.
Second index or dimension.
Third index or dimension.
Additional arguments passed to methods.
Logical. If TRUE, the result is coerced to the lowest possible dimension.