powered by
1:nx
ncl
It is mainly for internal use, but some package authors have found it useful.
splitIndices(nx, ncl)
splitIndices(20, 3)
Run the code above in your browser using DataLab