weights: Generating splines weights

Description Usage Arguments Value

View source: R/splines.R

Description

This function generates the weights required to construct splines of higher order. This function was coded in accordance to Carl de Boor's set of notes on splines, "B(asic)-Spline Basics".

Usage

1

Arguments

x

vector, the values at which to evaluate the basis function.

knots

vector, the internal knots.

i

integer, the basis component to be evaluated.

order

integer, the order of the basis. Do not confuse this with the degree of the splines, i.e. order = degree + 1.

Value

scalar.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.