Populates a column (indexed by basis_col) of x_basis with basis indicators.
evaluate_basis(basis, X, x_basis, basis_col)
Arguments
- 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.