View source: R/CreateSettings.R
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.
1 | createModelBasedSettings(model = "logistic", type = "risk")
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.