bbase_singletime {icmstate}R Documentation

Compute a B-spline basis for a single time point

Description

Similar to bbase_D, but sped up for single time points.

Usage

bbase_singletime(x, xl = min(x), xr = max(x), nseg = 10, bdeg = 3)

Arguments

x

The value for which the basis is to be evaluated (ONLY SINGLE VALUE ALLOWED)

xl

The left boundary of the domain

xr

The right boundary of the domain

nseg

The number of inter-knot segments on the domain

bdeg

The degree of the B-splines (2 means quadratic, 3 means cubic, and so on)

Value

A vector containing the basis

Examples

x = 0.02
B = bbase_singletime(x, 0, 1, 20, 3)

[Package icmstate version 0.2.0 Index]