simisc/splintr: Natural Cubic SPLines with Interpretable INTercepts

Adjusts an ns() basis matrix so that all terms are zero when x takes the specified centre value. When used in a model formula, this ensures that the regression intercept can be interpreted with respect to centred x-value, rather than with respect to the x-value of the first boundary knot.

Getting started

Package details

Maintainer
LicenseGPL-3 + file LICENSE
Version1.0.0
Package repositoryView on GitHub
Installation Install the latest version of this package by entering the following in R:
install.packages("remotes")
remotes::install_github("simisc/splintr")
simisc/splintr documentation built on June 14, 2019, 7:07 p.m.