Open slwu89 opened 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).
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).