evaluate_basis {hal9001}R Documentation

Generate Basis Functions

Description

Populates a column (indexed by basis_col) of x_basis with basis indicators.

Usage

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.


[Package hal9001 version 0.4.6 Index]