Description Usage Arguments Value
View source: R/predict_CO.R View source: R/predict.R
Recommend treatment based on pre-treatment covariates and a weight
Recommend treatment based on pre-treatment covariates and a weight
1 2 3 | recommendResult(tree.list, x.b, w)
recommendResult(tree.list, x.b, w)
|
tree.list |
MOTTE forest |
x.b |
a maitrx, a matrix that contains pre-treatment covarites |
w |
a numeric vector, indicating the direction of desired outcome |
a vector that contains the recommanded treatment level for each individual
a vector that contains the recommanded treatment level for each individual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.