size_to_splits: size to splits

size_to_splitsR Documentation

size to splits

Description

Convert segment size to number of splits which must be computed during the optimization.

Usage

size_to_splits(size, 
    min.segment.length)

Arguments

size

Segment size, positive integer.

min.segment.length

Minimum segment length, positive integer.

Value

Number of splits, integer.

Author(s)

Toby Dylan Hocking


binsegRcpp documentation built on Sept. 8, 2023, 6:11 p.m.