Skip to contents

Get permutation matrix from axis set

Usage

# S4 method for class 'NeuroSpace'
perm_mat(x, ...)

Arguments

x

A NeuroSpace object

...

Additional arguments (not used)

Examples

ns <- NeuroSpace(dim=c(10,10,10))
perm_mat(ns)
#>      [,1] [,2] [,3]
#> [1,]    1    0    0
#> [2,]    0    1    0
#> [3,]    0    0    1