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.
Package details |
|
---|---|
Maintainer | |
License | GPL-3 + file LICENSE |
Version | 1.0.4 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.