aMorph | R Documentation |
Transform an array, keeping the desired indices and dimensions
aMorph(x, l, keep = TRUE, reorder = !keep)
x |
A vector or an array |
l |
A list whose components are named after some of the array dimensions and contain the indices to keep |
keep |
Boolean. Should the dimensions that are not in the list be summed over ? |
reorder |
Boolean. Should the array dimensions be permuted so that they match the order of the list ? |
An array containing only the specified components
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.