CreateCubicBF {boostingDEA}R Documentation

Generate a new pair of Cubic Basis Functions

Description

This function generates two new cubic basis functions from a variable and a knot previously created during MARS algorithm.

Usage

CreateCubicBF(data, xi, knt, B, side)

Arguments

data

data.frame or matrix containing the variables in the model.

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.

Value

Matrix of basis functions updated with the new basis functions.


[Package boostingDEA version 0.1.0 Index]