BINSEG: Detect a series of change points with binary segmentation

Description Usage Arguments Value Examples

View source: R/BINSEG.R

Description

Detect a series of change points with binary segmentation and return the points and costs

Usage

1
BINSEG(data, segs)

Arguments

data

a vector of data

segs

the number of segments

Value

a data matrix of the change points and costs

Examples

1
Rfunc2::BINSEG(c(1,2,3,4,5,6),2)

bwd29/Rfunc2 documentation built on Dec. 31, 2020, 9 p.m.