Skip to contents

Generate the B-spline basis matrix for a polynomial spline.

Usage

BSpline(x, degree)

Arguments

x

a numeric vector at which to evaluate the spline. Missing values are not allowed in x

degree

the degree of the piecewise polynomial

See also