cantrends: Fit Segmented Regression Models

Estimates piecewise linear spline models for assessing temporal trends in cancer incidence and mortality rates. Provides tools for identifying and reporting knot locations, annual percent changes (APCs), and average annual percent changes (AAPCs), facilitating the analysis and communication of changes in cancer rates over time.

Version: 0.1.0
Depends: R (≥ 4.1)
Imports: broom, carrier (≥ 0.3.0), cli, dplyr, glue, lspline, mirai (≥ 2.5.1), purrr (≥ 1.1.0), rlang, tibble
Published: 2026-08-26
DOI: 10.32614/CRAN.package.cantrends (may not be active yet)
Author: Matthew T. Warkentin ORCID iD [aut, cre, cph], John Hutchinson [ctb], Yibing Ruan [ctb]
Maintainer: Matthew T. Warkentin <matthew.warkentin at ucalgary.ca>
BugReports: https://github.com/mattwarkentin/cantrends/issues
License: MIT + file LICENSE
URL: https://github.com/mattwarkentin/cantrends
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: cantrends results

Documentation:

Reference manual: cantrends.html , cantrends.pdf

Downloads:

Package source: cantrends_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): cantrends_0.1.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=cantrends to link to this page.