Skip to content

smoothbp

0.2.7

Hierarchical Piecewise Regression with Smoothed Change-Points

1packages depend
820downloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Aidan D BindoffFirst published 2026-06-014 releasesCRAN page ↗GitHub ↗

Fits Bayesian hierarchical piecewise regression models with multiple logistic-smoothed change-points. Non-linear parameters (change-point locations and transition sharpness) and linear parameters can each be conditioned on covariates and factors via flexible design matrices. A random-intercept structure is supported for any parameter. Spike-and-slab regularization is supported for selecting the number of breakpoints. Posterior inference uses a Metropolis-within-Gibbs sampler implemented in 'Rust' for speed. Methods are based on the smooth transition piecewise regression model of Bacon and Watts (1971) doi:10.2307/2334389 and variable selection spike-and-slab priors of Kuo and Mallick (1998) https://www.jstor.org/stable/25053023.

Install

Health

CRAN checks
13OK
Slowest check: 13.2 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.31
not tracked
Coverage
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-30
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-29
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-17
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 6 earlier snapshots
  • ERROR2026-06-14
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-03
    8 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-02
    5 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 85 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
14%
Documented parameters
98%
Return-value docs
95%
References docs
3%

Downloads

820
CRAN downloads in the past year
Rank #12,118 · ~2/day · ~68/mo
Daily download trend is not available in this view yet.
18830 days
82090 days
8201 year
Compare downloads with other packages →
Also on60 r2u

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
1Releases
140Commits
2Contributors
140 commits · Last activity 2026-08-12 · 0% stars, 30d

Stars over time

2026-06-01 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

4 development-tooling and community-health practices detected across 2 families in the upstream repository

Checks run against github.com/abindoff/smoothbp on 2026-08-16.

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
VS CodeRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-04-29

claude

Most recent: claude on 2026-04-29

Evidence
  • claude: on or before 2026-04-29 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
16 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

4 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.2.7Latest
    2026-06-16 · current release · diff ↗
  • 0.2.4
    2026-06-14 · diff ↗
  • 0.2.2
    2026-06-02 · diff ↗
  • 0.2.1
    2026-06-01
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-06-01
Total releases
4 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2
Download size
2.9 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("smoothbp")
Bindoff, A. D. (2026). smoothbp: Hierarchical Piecewise Regression with Smoothed Change-Points (Version 0.2.7) [Computer software]. https://doi.org/10.32614/CRAN.package.smoothbp

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 smoothbp version 0.2.7 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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