bbase: Generate a spline basis, slightly adapted from : "Splines,...

View source: R/abfit.R

bbaseR Documentation

Generate a spline basis, slightly adapted from : "Splines, knots, and penalties", Eilers 2010.

Description

Generate a spline basis, slightly adapted from : "Splines, knots, and penalties", Eilers 2010.

Usage

bbase(N, number, deg = 3)

Arguments

N

number of data points.

number

number of spline functions.

deg

spline degree : deg = 1 linear, deg = 2 quadratic, deg = 3 cubic.

Value

spline basis as a matrix.


martin3141/spant documentation built on April 14, 2024, 4:15 a.m.