Package: gps 1.2

Zheyuan Li

gps: General P-Splines

General P-splines are non-uniform B-splines penalized by a general difference penalty, proposed by Li and Cao (2022) <arxiv:2201.06808>. Constructible on arbitrary knots, they extend the standard P-splines of Eilers and Marx (1996) <doi:10.1214/ss/1038425655>. They are also related to the O-splines of O'Sullivan (1986) <doi:10.1214/ss/1177013525> via a sandwich formula that links a general difference penalty to a derivative penalty. The package includes routines for setting up and handling difference and derivative penalties. It also fits P-splines and O-splines to (x, y) data (optionally weighted) for a grid of smoothing parameter values in the automatic search intervals of Li and Cao (2023) <doi:10.1007/s11222-022-10178-z>. It aims to facilitate other packages to implement P-splines or O-splines as a smoothing tool in their model estimation framework.

Authors:Zheyuan Li [aut, cre]

gps_1.2.tar.gz
gps_1.2.zip(r-4.5)gps_1.2.zip(r-4.4)gps_1.2.zip(r-4.3)
gps_1.2.tgz(r-4.4-x86_64)gps_1.2.tgz(r-4.4-arm64)gps_1.2.tgz(r-4.3-x86_64)gps_1.2.tgz(r-4.3-arm64)
gps_1.2.tar.gz(r-4.5-noble)gps_1.2.tar.gz(r-4.4-noble)
gps_1.2.tgz(r-4.4-emscripten)gps_1.2.tgz(r-4.3-emscripten)
gps.pdf |gps.html
gps/json (API)

# Install 'gps' in R:
install.packages('gps', repos = c('https://zheyuanli.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/zheyuanli/gps/issues

Uses libs:
  • openblas– Optimized BLAS

On CRAN:

3.00 score 2 stars 199 downloads 18 exports 2 dependencies

Last updated 2 years agofrom:ed5ea12192. Checks:OK: 1 ERROR: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 27 2024
R-4.5-win-x86_64ERROROct 27 2024
R-4.5-linux-x86_64ERROROct 27 2024
R-4.4-win-x86_64ERROROct 27 2024
R-4.4-mac-x86_64ERROROct 27 2024
R-4.4-mac-aarch64ERROROct 27 2024
R-4.3-win-x86_64ERROROct 27 2024
R-4.3-mac-x86_64ERROROct 27 2024
R-4.3-mac-aarch64ERROROct 27 2024

Exports:btSbDemoBSDemoKnotsDemoNullDemoPBSDemoRhoLimDemoSplDiffCoefgps2GSGramBSMakeGridMPinvpbsDesignPlaceKnotsPriorCoefrsplSparseDSparsePD

Dependencies:latticeMatrix