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

Version: 0.15-24
Imports: boot, stats, np, quantreg, rgl
Suggests: logspline, npRmpi, quadprog
Published: 2014-12-18
Author: Jeffrey S. Racine [aut, cre], Zhenghua Nie [aut], Brian D. Ripley [ctb] (stepCV.R)
Maintainer: Jeffrey S. Racine <racinej at>
License: GPL-2 | GPL-3 [expanded from: GPL]
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-24.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X Snow Leopard binaries: r-release: crs_0.15-24.tgz, r-oldrel: crs_0.15-24.tgz
OS X Mavericks binaries: r-release: crs_0.15-24.tgz
Old sources: crs archive

Reverse dependencies:

Reverse suggests: laGP, mlr