# Create a NeuroSpace object with dimensions (10, 10, 10)
x <- NeuroSpace(c(10, 10, 10), c(1, 1, 1))
# Drop the first dimension
x1 <- drop_dim(x, 1)
# Check the new dimensions
ndim(x1) == 2
dim(x1)[1] == 10
Run the code above in your browser using DataLab