B_basis: Spline Basis Functions

View source: R/fcts.R

B_basisR Documentation

Spline Basis Functions

Description

Construct the J basis functions for the splines evaluated on a grid.

Usage

B_basis(xgrid, knots)

Arguments

xgrid

grid where we want to evaluate the spline functions (vector of length n)

knots

vector of knots for the splines (vector of length K)

Value

n x (K+1) - matrix representing the value of each basis function evaluated on xgrid


lddmm documentation built on June 7, 2023, 5:28 p.m.