View source: R/pupil_sim_helpers.R
get_knots | R Documentation |
Calculate knot sequence for a B-spline See Eilers & Marx (2010) for details, the code was taken from their paper.
get_knots(xl, xr, ndx, bdeg)
xl |
minimum of X |
xr |
maximum of X |
ndx |
number of intervals |
bdeg |
degree of basis function (2 for cubic) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.