formula_HAL
object.R/formula_hal9001.R
formula_hal.Rd
HAL Formula: Convert formula or string to formula_HAL
object.
formula_hal(formula, smoothness_orders, num_knots, X = NULL)
A formula_hal9001
object as outputted by h
.
A default value for s
if not provided
explicitly to the function h
.
A default value for k
if not provided explicitly to
the function h
.
Controls inheritance of the variable X
from parent environment.
When NULL
(the default), such a variable is inherited.