Get permutation matrix from axis set
Usage
# S4 method for class 'NeuroSpace'
perm_mat(x, ...)
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
Get permutation matrix from axis set
# S4 method for class 'NeuroSpace'
perm_mat(x, ...)
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