bsplineSeries2fun {MECfda}R Documentation

Compute the value of the Fourier summation series at certain points.

Description

Compute the value of the Fourier summation series at certain points.

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)

[Package MECfda version 0.1.0 Index]