-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit d1c55db
Showing
21 changed files
with
1,469 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Package: gps | ||
Version: 1.0 | ||
Date: 2022-01-27 | ||
Title: General P-Splines | ||
Authors@R: c(person("Zheyuan", "Li", role = c("aut", "cre"), | ||
email = "zheyuan.li@bath.edu", | ||
comment = c(ORCID = "0000-0002-7434-5947"))) | ||
Author: Zheyuan Li [aut, cre] (<https://orcid.org/0000-0002-7434-5947>) | ||
Maintainer: Zheyuan Li <zheyuan.li@bath.edu> | ||
Depends: R (>= 4.0.0) | ||
Imports: stats, splines, Matrix, methods, graphics, grDevices | ||
Description: Routines to construct general P-splines for non-uniform B-splines on arbitrary knots, proposed by Li and Cao (2022) <arXiv:2201.06808>. This P-spline variant extends the standard P-splines of Eilers and Marx (1996) <doi:10.1214/ss/1038425655> that are tailored for uniform B-splines on equidistant knots. Includes SparseD() for computing general difference matrices, SparseS() for computing derivative penalty matrix or its sparse root using a sandwich formula, etc. Also includes several demos on B-splines and P-splines. Aims to facilitate other packages to implement general P-splines as a smoothing tool in their model estimation framework. | ||
License: GPL-3 | ||
NeedsCompilation: yes | ||
URL: https://github.com/ZheyuanLi/gps | ||
Packaged: 2022-01-26 20:28:19 UTC; lzy | ||
Repository: CRAN | ||
Date/Publication: 2022-01-27 19:40:06 UTC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
2bbd671c28cc16edb68927869ae8204f *DESCRIPTION | ||
19145f695cb2274dd22c2cddc37dd32f *NAMESPACE | ||
4bb48dea27b1dfcc59967e92ba7bd0c6 *R/gps.R | ||
9ac087f40366e0b08df2e882f5b606d9 *man/DemoBS.Rd | ||
b89153d0c39381c041a3ca60f24d9200 *man/DemoKnots.Rd | ||
0d93485ecf4615653fb4600d4fde3d1c *man/DemoNull.Rd | ||
95ce4d8979de34093caf8f925f60919b *man/DemoPBS.Rd | ||
3e6fb93fbdc7c2433ab82f73650e0ba1 *man/DiffCoef.Rd | ||
d17d7762d243096a3c275732a61d73ab *man/MakeGrid.Rd | ||
503daf8a78a4b29b23126595cde1ed59 *man/NullD.Rd | ||
c3799b4ee36e96f40f2bbae1b034228d *man/PlaceKnots.Rd | ||
8d78e82726ebf1402a57a44073dd0e23 *man/SparseD.Rd | ||
24abfa9624ec97dbacb07029b6b06978 *man/SparseS.Rd | ||
83776be32f236dff3a95f3283bb0263f *man/btSb.Rd | ||
b08e00a0a55db80c0c5202dc209008cf *man/pbsDesign.Rd | ||
1fcb7e1a2c61c8206696371de50204dd *src/Dmat.c | ||
2a6f9e9e044a78154d3cfda5936d6f48 *src/Makevars | ||
183552db0c08f2badd15bf97c922045e *src/base.h | ||
a851c1e837751f8f58acde1896f45397 *src/bspl.c | ||
31002918836ac525214f783b400eec27 *src/init.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
useDynLib(gps, .registration = TRUE) | ||
|
||
export(MakeGrid, PlaceKnots, DemoKnots, DemoBS, | ||
SparseD, NullD, DemoNull, DiffCoef, SparseS, btSb, | ||
pbsDesign, SparsePD, DemoPBS) | ||
|
||
import(stats) | ||
importFrom(splines, splineDesign) | ||
importFrom(Matrix, crossprod, bandSparse) | ||
importFrom(methods, new) | ||
importFrom(graphics, plot.default, points.default, lines.default, | ||
abline, matplot, matlines, par, segments, text.default, mtext, polygon, title) | ||
importFrom(grDevices, gray) |
Oops, something went wrong.