Given scores (coefficients), these functions calculate a linear
combination of spline tensor basis functions on two-dimensional domains
based on the
in the mgcv package. See Details.
1 2 3
A matrix of dimension
A list containing a two numeric vectors, corresponding to the x- and y-values, on which the functions should be defined.
A vector of character strings (or a single character), the
type of basis functions to be used. Please refer to
A numeric vector (or a single number), the order of the spline
A numeric vector (or a single number), the number of basis
functions used. See
If the scores have been calculated based on an unpenalized tensor
spline basis, the linear combination is computed based on the
gam functions ((
splineFunction2D)). If the
scores were obtained using penalization, the expansion is calculated
via bam (
An object of class
N observations on
the two-dimensional domain specified by
to the linear combination of spline basis functions.
splineFunction2Dpen, which relies
on bam has not been tested with ATLAS/MKL/OpenBLAS.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.