Nothing
Code
arr %_% .(i, i)
Condition
Error in `arr %_% .(i, i)`:
! Attempted diagonal subsetting on slots with different dimensions.
x Index `i` is associated to dimension 2 and 3.
i Only assign identical index labels to slots with the equal dimension.
Code
as.array(arr %_% .(i, j), "i")
Condition
Error:
! Argument `index_order` is not specified correctly.
i Use `ricci::.()` to specify an index set.
Code
as_a(arr %_% .(+i, j), j, i)
Condition
Error in `as_a()`:
! Argument `...` contains index with incorrect position.
x Position of index `-i` does not match index position in <Labeled Array> [2x2] .(+i, -j).
i Make sure you explicitely specify the correct index position.
Code
as_a(arr %_% .(+i, j), j)
Condition
Error in `as_a()`:
! Argument `...` does not contain all indices.
x Index `i` missing.
i Operation requires the explicit selection of all indices.
Code
arr %_% .(i, j, k)
Condition
Error in `arr %_% .(i, j, k)`:
! The number of provided indices do not match the array rank
x 3 indices provided for a rank 2 array
i The number of indices needs to match the array rank of argument `a`.
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.