evaluate_basis {hal9001} | R Documentation |
Populates a column (indexed by basis_col) of x_basis with basis indicators.
evaluate_basis(basis, X, x_basis, basis_col)
basis |
The basis function. |
X |
The design matrix, containing the original data. |
x_basis |
The HAL design matrix, containing indicator functions. |
basis_col |
Numeric indicating which column to populate. |