GetBSpline: Get B-Spline Matrix

Description Usage Arguments Value

View source: R/BSplineFunctions.R

Description

Generates B-Spline functions over some parameters and places such functions into columns of a n by (m + deg + 1) matrix.

Usage

1
GetBSpline(x, deg = 3, IntKnots, ExtKnots)

Arguments

x

Range of values to define the function over.

deg

Degree of the desired B-Spline.

IntKnots

Interior knots that partially define the B-Spline.

ExtKnots

Exterior knots, often ExtKnots = c(min(x),max(x)).

Value

Matrix where i,j-th entry corresponds to j-th basis function evaluated at i-th data point.


nclJoshCowley/PSplinesR documentation built on Nov. 19, 2019, 10:29 a.m.