Learn R Programming

chickn (version 1.2.3)

split_index: split_index

Description

splits the indeces into several blocks

Usage

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

Arguments

total_len

is a total length of the index vector

block_len

is a length of the block

nb_split

is a number of the splits

Value

A list of the splits that contains lower, upper block indeces and block size