Estimation of location and magnitudes of change in intercept and slope, for piecewise linear models.
fitS_linear(dataIn,xColIndex=NULL,yColIndex=NULL,plotTitle = '')
Object of class "fittedS_linear"
, with components:
The pre-changepoint slope.
The post-changepoint slope.
S-curve slope for finding regression slope.
The changepoint.
Pre-changepoint intercept.
Post-changepoint intercept.
S-curve slope for finding regression slope.
The gap at the changepoint is then
(h2 + h2 c) - (b2 + b1 c)
Data frame or equivalent.
Column number of "x" (typically time).
Column number of "y".
Title for output plot, if any.
Lan Jiang, Collin Kennedy, Norm Matloff
Linear model analog of fitS
. Note: May have long run times.