View source: R/getSplineMatrix.R
getSplineMatrix | R Documentation |
Takes in coordinates and degrees of freedom generates the normalized spline basis function matrix using the 'mgcv' 'smoothCon' function.
getSplineMatrix(coords, df = 5)
coords |
data frame or matrix of coordinates (either 1D or 2D) |
df |
degrees of freedom to use for constructing the thin plate regression spline. Default is 5. |
normalized spline basis function matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.