Learn R Programming

LMMsolver (version 1.0.9)

Bsplines: Construct design matrix for B-Splines

Description

Construct design matrix for B-Splines.

Usage

Bsplines(knots, x, deriv = 0)

Arguments

knots

A numerical vector of knot positions.

x

a numeric vector of values at which to evaluate the B-spline functions or derivatives.

deriv

A numerical value. The derivative of the given order is evaluated at the x positions.