CreateCubicBF | R Documentation |
This function generates two new cubic basis functions from a variable and a knot previously created during MARS algorithm.
CreateCubicBF(data, xi, knt, B, side)
data |
|
xi |
Variable index of the new basis function(s). |
knt |
Knots for creating the new basis function(s). |
B |
Matrix of basis functions. |
side |
Side of the basis function. |
Matrix of basis functions updated with the new basis functions.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.