Fitting regression models where, in addition to possible linear terms, one or more covariates have segmented (i.e., broken-line or piece-wise linear) or stepmented (i.e. piece-wise constant) effects. Multiple breakpoints for the same variable are allowed. The estimation method is discussed in Muggeo (2003, <doi:10.1002/sim.1545>) and illustrated in Muggeo (2008, <https://www.r-project.org/doc/Rnews/Rnews_2008-1.pdf>). An approach for hypothesis testing is presented in Muggeo (2016, <doi:10.1080/00949655.2016.1149855>), and interval estimation for the breakpoint is discussed in Muggeo (2017, <doi:10.1111/anzs.12200>). Segmented mixed models, i.e. random effects in the change point, are discussed in Muggeo (2014, <doi:10.1177/1471082X13504721>). Estimation of piecewise-constant relationships and changepoints (mean-shift models) is discussed in Fasola et al. (2018, <doi:10.1007/s00180-017-0740-4>).
| Version: | 2.2-1 |
| Depends: | R (≥ 3.5.0), MASS, nlme |
| Published: | 2026-01-29 |
| DOI: | 10.32614/CRAN.package.segmented |
| Author: | Vito M. R. Muggeo |
| Maintainer: | Vito M. R. Muggeo <vito.muggeo at unipa.it> |
| License: | GPL-2 | GPL-3 [expanded from: GPL] |
| NeedsCompilation: | no |
| Citation: | segmented citation info |
| Materials: | NEWS |
| In views: | Econometrics, Environmetrics |
| CRAN checks: | segmented results |
| Reference manual: | segmented.html , segmented.pdf |
| Package source: | segmented_2.2-1.tar.gz |
| Windows binaries: | r-devel: segmented_2.2-1.zip, r-release: segmented_2.2-1.zip, r-oldrel: segmented_2.2-1.zip |
| macOS binaries: | r-release (arm64): segmented_2.2-1.tgz, r-oldrel (arm64): segmented_2.2-1.tgz, r-release (x86_64): segmented_2.2-1.tgz, r-oldrel (x86_64): segmented_2.2-1.tgz |
| Old sources: | segmented archive |
| Reverse imports: | AQEval, bioregion, ddiv, lactater, LadderFuelsR, mixtools, netSEM, PCRedux, ppweibull, PUPAK, PwePred, PWEXP, rcssci, ReliaGrowR, respirometry, respR, RHRV, seqinr, spatialwarnings, StructuralDecompose, SWTools, tidychangepoint, Trendy, weibulltools |
| Reverse suggests: | nlraa, REddyProc |
Please use the canonical form https://CRAN.R-project.org/package=segmented to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.