adolgert / Glissa.jl

Spline functions for unequal coordinates in pure Julia
MIT License
0 stars 0 forks source link

possible API #11

Open slwu89 opened 1 year ago

slwu89 commented 1 year ago

In mgcv, the API is set up around the idea of generic "smooths" that are incorporated into a model (including P, cubic, thin plate, and other flavors of splines).

If we were to take inspiration from this, the main interface functions for users are:

Facilities for imposing shape constraints in mgcv are more limited, and seem to only exist for cubic splines (see https://rdrr.io/cran/mgcv/man/mono.con.html).