createModelBasedSettings: Create model based settings

Description Usage Arguments

View source: R/CreateSettings.R

Description

Create the settings for a model-based approach to HTE. Either a covariate-adjusted constant treatment effect model or a model with the baseline risk linear predictor can be considered.

Usage

1
createModelBasedSettings(model = "logistic", type = "risk")

Arguments

model

The model-type assumed. Currently, only "logistic" is available

type

Can be either "risk" or "treatment". If "risk" a column called "riskLinearPredictor" is required in the data. If "treatment" a column "treatment" is required in the data.


rekkasA/SmoothHte documentation built on Sept. 8, 2021, 2:40 a.m.