smooth.construct.sps.smooth.spec: (Skew-)Symmetric smooths constructor

smooth.construct.sps.smooth.specR Documentation

(Skew-)Symmetric smooths constructor

Description

The sps smoother class for mgcv is adapted from the symm class in the R package sparseFLMM. Besides symmetric bivariate P-spline tensor product smooths, it also offers the opportunity to specify skew-symmetric smooths, the symmetry constraints also in combination with cyclic (periodic) marginal P-spline smooths, and the corresponding constraints for univariate smooths.

Usage

## S3 method for class 'sps.smooth.spec'
smooth.construct(object, data, knots)

Arguments

object

a smooth specfication object, usually generated by a term of the form s(x, bs = "sps", ...).

data

a list containing the data.

knots

a list containing any knots for basis setup. Can be NULL.

Value

An object of class "sympspline.smooth". See smooth.construct for its elements.


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.