bspline_series-class {MECfda} | R Documentation |
b-splines summation series.
Description
A s4 class that represents
the summation \sum_{i=0}^{k}b_i B_{i,p}(x)
by a bspline_basis object
and coefficients b_i
(i = 0,\dots,k
).
Slots
coef
coefficients of the b-splines,
b_i
(i = 0,\dots,k
).bspline_basis
a
bspline_basis
object, represents the b-splines basis used,\{B_{i,p}(x)\}_{i=-p}^{k}
.
Author(s)
Heyang Ji
Examples
bsb = bspline_basis(
Boundary.knots = c(0,24),
intercept = TRUE,
df = NULL,
degree = 3
)
bss = bspline_series(
coef = c(2,1,1.5,0.5),
bspline_basis = bsb
)
[Package MECfda version 0.2.1 Index]