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, <>), the Social Sciences and Humanities Research Council of Canada (SSHRC, <>), and the Shared Hierarchical Academic Research Computing Network (SHARCNET, <>).

Version: 0.15-34
Imports: boot, stats, np, quantreg
Suggests: logspline, quadprog, rgl
Published: 2022-03-31
Author: Jeffrey S. Racine [aut, cre], Zhenghua Nie [aut], Brian D. Ripley [ctb] (stepCV.R)
Maintainer: Jeffrey S. Racine <racinej at>
License: GPL (≥ 3)
Copyright: see file COPYRIGHTS
NeedsCompilation: yes
Materials: README ChangeLog
In views: Optimization
CRAN checks: crs results


Reference manual: crs.pdf
Vignettes: The crs Package
Frequently Asked Questions (crs)
A Primer on Spline Regression


Package source: crs_0.15-34.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): crs_0.15-34.tgz, r-release (x86_64): crs_0.15-34.tgz, r-oldrel: crs_0.15-34.tgz
Old sources: crs archive

Reverse dependencies:

Reverse imports: cops
Reverse suggests: laGP, mlr


Please use the canonical form to link to this page.