View source: R/auxiliary_functions.R
get_diags_of_array | R Documentation |
Extracts diagonals of all slices of an array (i.e. of arr[,,1], arr[,,2], ...
and stacks them in one vector.)
get_diags_of_array(arr)
arr |
An array. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.