Learn R Programming

riskRegression (version 2023.12.21)

Hal9001: Fitting HAL for use with predictRisk

Description

Fit HAL models via a formula and a data set for use with predictRisk.

Usage

Hal9001(formula, data, lambda = NULL, ...)

Arguments

formula

A formula.

data

The data on which to fit the model.

lambda

The tuning parameters for HAL. If set to NULL, then it the parameters are chosen for you.

...

Additional arguments that are passed on to the hal_fit.