Skip to content
Prev 308078 / 398503 Next

fit a "threshold" function with nls

V?ronique,
in addition to Bert's comments, I would like to bring to your attention 
that there are several packages that perform 
threshold/breakpoint/changepoint estimation in R, including

cumSeg, segmented, strucchange, and bcp for a Bayesian approach

Moreover some packages, such as cghFLasso, perfom smoothing with a L1 
penalty that can yield a step-function fit.

I hope this helps you,

vito


Il 15/10/2012 22.21, Bert Gunter ha scritto: