CreateBF {boostingDEA} | R Documentation |
Generate a new pair of Basis Functions
Description
This function generates two new basis functions from a variable
and a knot.
Usage
CreateBF(data, xi, knt, B, p)
Arguments
data |
data.frame or matrix containing the variables in
the model.
|
xi |
integer . Variable index of the new basis function(s).
|
knt |
Knot for creating the new basis function(s).
|
B |
matrix of basis functions on which the new pair of functions
is added.
|
p |
integer . Parent basis function index.
|
Value
Matrix of basis function (B
) updated with the new basis
functions.
[Package
boostingDEA version 0.1.0
Index]