crs: Categorical Regression Splines
Regression splines that handle a mix of continuous and categorical (discrete) data often encountered in applied settings. I would like to gratefully acknowledge support from the Natural Sciences and Engineering Research Council of Canada (NSERC, <https://www.nserc-crsng.gc.ca>), the Social Sciences and Humanities Research Council of Canada (SSHRC, <https://www.sshrc-crsh.gc.ca>), and the Shared Hierarchical Academic Research Computing Network (SHARCNET, <https://www.sharcnet.ca>). We would also like to acknowledge the contributions of the GNU GSL authors. In particular, we adapt the GNU GSL B-spline routine gsl_bspline.c adding automated support for quantile knots (in addition to uniform knots), providing missing functionality for derivatives, and for extending the splines beyond their endpoints.
| Version: |
0.15-41 |
| Imports: |
boot, stats, quantreg |
| Suggests: |
ggplot2, knitr, logspline, MASS, quadprog, rgl, rmarkdown, testthat (≥ 3.0.0) |
| Published: |
2026-04-11 |
| DOI: |
10.32614/CRAN.package.crs |
| Author: |
Jeffrey S. Racine [aut, cre],
Zhenghua Nie [aut],
Brian D. Ripley [ctb] (stepCV.R) |
| Maintainer: |
Jeffrey S. Racine <racinej at mcmaster.ca> |
| BugReports: |
https://github.com/JeffreyRacine/R-Package-crs/issues |
| License: |
GPL (≥ 3) |
| Copyright: |
see file COPYRIGHTS |
| URL: |
https://github.com/JeffreyRacine/R-Package-crs |
| NeedsCompilation: |
yes |
| Materials: |
README, ChangeLog |
| In views: |
Optimization |
| CRAN checks: |
crs results |
Documentation:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=crs
to link to this page.