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.


cantrends

R-CMD-check

The goal of cantrends is to fit segmented line regression models (i.e., piecewise linear spline models) to estimate trends in time-series cancer incidence and mortality data.

To install cantrends, run the following code:

remotes::install_github('mattwarkentin/cantrends')

Code of Conduct

Please note that the cantrends project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("cantrends")

0.1.0 by Matthew T. Warkentin, a month ago


https://github.com/mattwarkentin/cantrends


Report a bug at https://github.com/mattwarkentin/cantrends/issues


Browse source code at https://github.com/cran/cantrends


Authors: Matthew T. Warkentin [aut, cre, cph] (ORCID: , John Hutchinson [ctb] , Yibing Ruan [ctb]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports broom, carrier, cli, dplyr, glue, lspline, mirai, purrr, rlang, tibble


See at CRAN