Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

split_len

Split length in blocks


Description

Split length in blocks

Usage

split_len(total_len, block_len, nb_split = ceiling(total_len/block_len))

Arguments

total_len

Length to split.

block_len

Maximum length of each block.

nb_split

Number of blocks. Default uses the other 2 parameters.

Value

A matrix with 3 columns lower, upper and size.

Examples

split_len(10, block_len = 3)
split_len(10, nb_split = 3)

bigparallelr

Easy Parallel Tools

v0.3.1
GPL-3
Authors
Florian Privé [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.