linearOP: linearOP

Description Usage Arguments

View source: R/RcppExports.R

Description

An optimal partitioning algorithm with a linear fit for each segment

Usage

1
linearOP(x, data, penalty, cc = FALSE)

Arguments

x

a vector (see data)

data

a vector defining the data points (x[i], data[i])

penalty

the penalty for introducing a new segment

cc

a boolean to impose a continuity constraint


slopeOP documentation built on Jan. 13, 2021, 5:38 a.m.

Related to linearOP in slopeOP...