get_regression_constant.prescription_tree_learner: Return the constant term in the linear regression prediction...

View source: R/iaitrees.R

get_regression_constant.prescription_tree_learnerR Documentation

Return the constant term in the linear regression prediction at a node of a prescription tree

Description

Julia Equivalent: IAI.get_regression_constant

Usage

## S3 method for class 'prescription_tree_learner'
get_regression_constant(obj, node_index, treatment, ...)

Arguments

obj

The learner to query.

node_index

The node in the tree to query.

treatment

The treatment to query.

...

Refer to the Julia documentation for available parameters.

Examples

## Not run: iai::get_regression_constant(lnr, 1, "A")


iai documentation built on July 9, 2023, 5:41 p.m.