Skip to content

chngpt

2024.11-15Package record

Estimation and Hypothesis Testing for Threshold Regression

2packages depend
13.6Kdownloads / year
63.4%test coverage
13/13flavors OK

Overview

About

Threshold regression models are also called two-phase regression, broken-stick regression, split-point regression, structural change models, and regression kink models, with and without interaction terms. Methods for both continuous and discontinuous threshold models are included, but the support for the former is much greater. This package is described in Fong, Huang, Gilbert and Permar (2017) DOI:10.1186/s12859-017-1863-x and the package vignette.

Install

Health

CRAN checks
13OK
Slowest check: 5.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2024.11-15
READMEYes · 26 wordsVignettesYes · 1 · staticNEWSNoCitation fileYes · software entry onlyWebsitenot declared in DESCRIPTION
Help pages
17
Examples that run
100%6 run in a plain check
Exported functions with examples
60%
Documented parameters
93%
Return-value docs
60%
Help pages citing references
29%

Downloads

13.6K
CRAN downloads in the past year
Rank #3,630 · ~37/day · ~1.1K/mo
Daily download trend is not available in this view yet.
1.3K30 days
2.8K90 days
13.6K1 year
Compare downloads with other packages →
Also on376 r2u11 autocran

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing chngpt adds 10 packages (8 with compiled code, 12 MB of source tarballs). Heaviest: lme4 4.3 MB, nloptr 2.1 MB, Rcpp 1.8 MB.

Depends (1)
R >= 3.6
Imports (9)
survivalsplineskyotilbootMASSmethodslme4parallelRhpcBLASctl
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
2direct
1indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (8)
Maintainer since 0.1-1 (2013)
Author · added in 2020.8-29
Author · added in 2018.10-17
Author · added in 2020.10-12
Author · added in 2018.5-2
Author · added in 2020.8-29
Author · added in 2019.8-28
Author · added in 2019.3-6
Releases (39)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2024.11-15Latest
    record
    2024-11-12 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2023.11-29
    record
    2023-12-05 · diff ↗
  • 2023.11-28
    record
    2023-11-29 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2023.1-30
    record
    2023-01-31 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2022.4-6
    record
    2022-04-07 · diff ↗
  • 2022.3-15
    record
    2022-03-16 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2021.5-12
    record
    2021-05-12 · diff ↗
  • 2020.10-12
    record
    2020-10-14 · diff ↗
  • 2020.8-29
    record
    2020-08-30 · diff ↗ ·
    added 2 exports
    sim.threephase, sim.twophase.ran.inte
  • 2020.5-21
    record
    2020-05-22 · diff ↗
Show 39 earlier eventsHide 39 earlier events
  • 2020.5-13
    record
    2020-05-13 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2020.2-26
    record
    2020-02-27 · diff ↗ ·
    added 3 exports
    threshold.func, predictx, convert.coef
  • 2019.11-30
    record
    2019-12-02 · diff ↗
  • 2019.11-26
    record
    2019-11-28 · diff ↗
  • 2019.11-21
    record
    2019-11-21 · diff ↗ ·
    added 2 exports
    double.hinge, plot.double.hinge
  • 2019.9-2
    record
    2019-09-02 · diff ↗
  • 2019.8-28
    record
    2019-08-29 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2019.3-12
    record
    2019-03-13 · diff ↗
  • 2019.3-8
    record
    2019-03-08 · diff ↗
  • 2019.3-6
    record
    2019-03-07 · diff ↗
  • 2018.10-17
    record
    2018-10-30 · diff ↗
  • 2018.7-25
    record
    2018-08-07 · diff ↗ ·
    added 1 export
    chngptm.xy
  • 2018.6-2
    record
    2018-06-02 · diff ↗
  • 2018.5-2
    record
    2018-05-02 · diff ↗ ·
    added 2 exports
    sim.hinge, hinge.test
  • R
    R 3.5.0 released · 2018-04-23
  • unarchivedReturned to CRAN
    2018-03-29
  • 2018.3-29
    record
    2018-03-29 · diff ↗
  • archivedRemoved from CRAN
    2018-03-28
    policy violation Leaves unit test files in '/tmp'
  • 2018.3-20
    record
    2018-03-20 · diff ↗
  • 2018.1-3
    record
    2018-01-04 · diff ↗
  • 2017.12-26
    record
    2018-01-03 · diff ↗
  • 2017.12-3
    record
    2017-12-04 · diff ↗ ·
    added 2 exports
    plot.chngptm, lincomb
  • 2017.10-9
    record
    2017-10-10 · diff ↗ ·
    added 1 export
    performance.unit.test
  • 2017.08-28
    record
    2017-08-28 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2016.7-31
    record
    2016-07-31 · diff ↗
  • 2016.7-9
    record
    2016-07-10 · diff ↗ ·
    removed 3 exports
    coef.chngptm, vcov.chngptm, summary.chngptm
  • R
    R 3.3.0 released · 2016-05-03
  • 2015.9-5
    record
    2015-09-09 · diff ↗ ·
    removed 1 export
    sim.sigmoid
    added 1 export
    sim.chngpt
  • R
    R 3.2.0 released · 2015-04-16
  • 2014.12-2
    record
    2014-12-06 · diff ↗
  • 2014.5-29
    record
    2014-05-30 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 2014.3-5
    record
    2014-03-10 · diff ↗
  • 0.1-2
    record
    2013-10-18 · diff ↗ ·
    removed 5 exports
    chngpt.score.test, plot.chngpt.score.test, chngpt.logistic, chngpt.logistic.2, antoka.test
    added 8 exports
    chngpt.test, plot.chngpt.test, chngptm, print.chngptm, coef.chngptm, vcov.chngptm, summary.chngptm, antoch.test
  • 0.1-1
    record
    2013-09-09
  • R
    R 3.0.0 released · 2013-04-03

Package metadata

First published
2013-09-09
Total releases
39 / 13 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6
Bundled data
11 KB / 5 files
Download size
394 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("chngpt")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for chngpt version 2024.11-15 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy