The "bspline+" class represents B-spline basis functions.
rangeA length-two numeric vector to define the interval on which
basis functions can be evaluated. Default is c(0, 1).
nbasisThe total number of basis functions, including the ones that need to be dropped. Default is 4.
dropindIndices of basis functions that need to be dropped. Default is
numeric(0) (no basis will be dropped).
ncoefThe actual number of basis functions to represent functional data,
satisfying the condition ncoef == nbasis - length(dropind).
degreeDegree of the B-splines. Default is 3, standing for cubic splines.
knotsA numeric vector giving the inner knots. Must satisfy
nbasis == degree + length(knots) + 1.
Class basis+
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.