This function generates two new basis functions from a variable and a knot.
CreateBF(data, xi, knt, B, p)Matrix of basis function (B) updated with the new basis
functions.
data.frame or matrix containing the variables in
the model.
integer. Variable index of the new basis function(s).
Knot for creating the new basis function(s).
matrix of basis functions on which the new pair of functions
is added.
integer. Parent basis function index.