Learn R Programming

dSTEM (version 2.0-1)

est.slope: Estimate piecewise slope for piecewise linear model

Description

Estimate piecewise slope for piecewise linear model

Usage

est.slope(x, breaks)

Value

a vector of estimated piecewise slope

Arguments

x

numerical vector of signal-plus-noise data

breaks

numerical vector of change-point locations