Learn R Programming

⚠️There's a newer version (0.15-39) of this package.Take me there.

crs

This is the R package `crs' (Categorical Regression Splines) written and maintained by Jeffrey S. Racine (racinej@mcmaster.ca) with the invaluable assistance of Zhenghua Nie.

Installation

You can install the stable version on CRAN:

install.packages('crs', dependencies = TRUE)

Or download the zip ball or tar ball, decompress and run R CMD INSTALL on it, or install then use the devtools package to install the development version:

library(devtools); install_github('R-Package-crs', 'JeffreyRacine')

Note Windows users have to first install Rtools, while OS X users have to first install Xcode and the command line tools (in OS X 10.9 or higher, once you have Xcode installed, open a terminal and run xcode-select --install).

For more information on this project please visit the maintainer's website (https://www.socialsciences.mcmaster.ca/people/racinej).

Copy Link

Version

Install

install.packages('crs')

Monthly Downloads

3,760

Version

0.15-31.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Jeffrey Racine

Last Published

November 25th, 2019

Functions in crs (0.15-31.1)

crssigtest

Regression Spline Significance Test with Mixed Data Types
cps71

Canadian High School Graduate Earnings
clsd

Categorical Logspline Density
crsivderiv

Nonparametric Instrumental Derivatives
Engel95

1995 British Family Expenditure Survey
wage1

Cross-Sectional Data on Wages
crs-package

Nonparametric Regression Splines with Continuous and Categorical Predictors
crsiv

Nonparametric Instrumental Regression
crs

Categorical Regression Splines
frscv

Categorical Factor Regression Spline Cross-Validation
uniquecombs

Find the unique rows in a matrix
snomadr

R interface to NOMAD
frscvNOMAD

Categorical Factor Regression Spline Cross-Validation
glp.model.matrix

Utility function for constructing generalized polynomial smooths
tensor.prod.model.matrix

Utility functions for constructing tensor product smooths
npglpreg

Generalized Local Polynomial Regression
krscvNOMAD

Categorical Kernel Regression Spline Cross-Validation
gsl.bs

GSL (GNU Scientific Library) B-spline/B-spline Derivatives
krscv

Categorical Kernel Regression Spline Cross-Validation