Splits and array along a given axis, either totally or only subsets
split(X, along, subsets = c(1:dim(X)[along]), drop = NULL)
A list of arrays that combined make up the input array
An array that should be split
Along which axis to split; use -1 for highest dimension
Whether to split each element or keep some together
Remove unused dimensions after mapping default: drop if all resulting arrays have same number of dimensions