bsplineSeries2fun: Compute the value of the b-splines summation series at...

bsplineSeries2funR Documentation

Compute the value of the b-splines summation series at certain points.

Description

Compute the function f(x) = \sum_{i=0}^{k}b_i B_{i,p}(x)

Usage

bsplineSeries2fun(object, x)

## S4 method for signature 'bspline_series,numeric'
bsplineSeries2fun(object, x)

Arguments

object

an object of bspline_series class.

x

Value of $x$.

Value

A numeric atomic vector

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
)
bsplineSeries2fun(bss,(1:239)/10)

MECfda documentation built on April 3, 2025, 10:07 p.m.