| slice_first_dim | R Documentation |
Selects rows idx along the first (sample) axis, keeping all other
dimensions intact, regardless of how many dimensions the array has.
slice_first_dim(x, idx)
x |
A matrix or array. |
idx |
Integer indices into the first dimension. |
x restricted to idx along dim 1 (drop = FALSE).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.