get_knots: Calculate knot sequence for a B-spline See Eilers & Marx...

View source: R/pupil_sim_helpers.R

get_knotsR Documentation

Calculate knot sequence for a B-spline See Eilers & Marx (2010) for details, the code was taken from their paper.

Description

Calculate knot sequence for a B-spline See Eilers & Marx (2010) for details, the code was taken from their paper.

Usage

get_knots(xl, xr, ndx, bdeg)

Arguments

xl

minimum of X

xr

maximum of X

ndx

number of intervals

bdeg

degree of basis function (2 for cubic)


JoKra1/papss documentation built on June 15, 2022, 8:57 a.m.