README.md

lspline: Linear Splines with Convenient Parameterizations

R-CMD-check rstudio mirror
downloads cran
version

Linear splines with convenient parameterizations such that:

Knot locations can be specified

Inspired by Stata command mkspline and function lspline() from package ares (Junger and Ponce de Leon 2011). As such, the implementation follows Greene (2003), chapter 7.5.2.

Installation

From CRAN or development version using remotes:

remotes::install_github("mbojan/lspline", build_vignettes = TRUE)

Examples

See package homepage and the vignette.

References

Greene, William H. 2003. *Econometric Analysis*. Pearson Education.
Junger, Washington L., and Antonio Ponce de Leon. 2011. *Ares: Environment Air Pollution Epidemiology: A Library for Timeseries Analysis*. R package version 0.7.2 in CRAN’s archives.


mbojan/lspline documentation built on Nov. 17, 2022, 2:04 a.m.