formula_hal {hal9001}R 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.


[Package hal9001 version 0.4.6 Index]