Description Usage Arguments Value Examples
Split costs in consecutive blocks using a greedy algorithm that tries to find blocks of even total cost.
Vector of costs (e.g. proportional to computation time).
Number of blocks.
A matrix with 4 columns
1 2 3
split_costs(costs = 150:1, nb_split = 3) split_costs(costs = rep(1, 151), nb_split = 3) split_costs(costs = 150:1, nb_split = 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.