recommendResult: Recommend treatment based on pre-treatment covariates and a...

Description Usage Arguments Value

View source: R/predict_CO.R View source: R/predict.R

Description

Recommend treatment based on pre-treatment covariates and a weight

Recommend treatment based on pre-treatment covariates and a weight

Usage

1
2
3
recommendResult(tree.list, x.b, w)

recommendResult(tree.list, x.b, w)

Arguments

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

Value

a vector that contains the recommanded treatment level for each individual

a vector that contains the recommanded treatment level for each individual


boyiguo1/MOTTE.RF documentation built on June 14, 2020, 4:12 p.m.