make_summation_matrix | R Documentation |
Construct basis transformation matrix for (skew-)symmetry constraints for
bivariate P-spline smooths, which can also be combined with periodicity constraints
for cyclic marginals. The function is adapted from the
sparseFLMM
with the same name.
make_summation_matrix(F, skew = FALSE, cyclic.degree = 0)
F |
number of marginal basis functions. |
skew |
logical, should the basis be constraint to skew-symmetry instead of symmetry. |
cyclic.degree |
integer, specifying the number of basis functions identified with each other at the boundaries in order to implement periodicity. Should be specified to match the degree of the B-spline basis. |
This function is used to implement the respective constraints in the
function smooth.construct.sps.smooth.spec
.
A basis transformation matrix of dimension F^2 \times G with G<F^2 depending on the specified constraint.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.