Skip to contents

perm[i] names the input axis that becomes output axis i (base R aperm() semantics); NULL reverses the axes.

Usage

g_transpose(x, perm = NULL)

Arguments

x

Array (traced or plain).

perm

Integer permutation, or NULL.

Value

Permuted array.