powered by
Split length in blocks
split_len(total_len, block_len, nb_split = ceiling(total_len/block_len))
Length to split.
Maximum length of each block.
Number of blocks. Default uses the other 2 parameters.
A matrix with 3 columns lower, upper and size.
lower
upper
size
# NOT RUN { split_len(10, block_len = 3) split_len(10, nb_split = 3) # }
Run the code above in your browser using DataLab