powered by
add dimension to BrainSpace
BrainSpace
addDim(x, n) "addDim"(x, n)
x = BrainSpace(c(10,10,10), c(1,1,1)) x1 <- addDim(x, 10) ndim(x1) == 4 dim(x1)[4] == 10
Run the code above in your browser using DataLab