formula_hal: HAL Formula: Convert formula or string to 'formula_HAL'...

View source: R/formula_hal9001.R

formula_halR Documentation

HAL Formula: Convert formula or string to formula_HAL object.

Description

HAL Formula: Convert formula or string to formula_HAL object.

Usage

formula_hal(formula, smoothness_orders, num_knots, X = NULL)

Arguments

formula

A formula_hal9001 object as outputted by h.

smoothness_orders

A default value for s if not provided explicitly to the function h.

num_knots

A default value for k if not provided explicitly to the function h.

X

Controls inheritance of the variable X from parent environment. When NULL (the default), such a variable is inherited.


hal9001 documentation built on Nov. 14, 2023, 5:08 p.m.