These operators can be used to extract or replace data from an array by indices. Normal R array selection rules apply. The only limitation is that the indices have to be consecutive.
Arguments
- x
A
zarr_arrayobject of which to extract or replace the data.- ...
Indices specifying elements to extract or replace. Indices are numeric, empty (missing) or
NULL. Numeric values are coerced to integer or whole numbers. The number of indices has to agree with the dimensionality of the array.- drop
If
TRUE(the default), degenerate dimensions are dropped, ifFALSEthey are retained in the result.