Estimate the CATE Using a Random Forest for Step 1 of Virtual Twins
vt1_rf(data, Trt, Y, ...)Estimated CATEs for each subject in data.
a data frame containing a response, binary treatment indicators, and covariates.
a string specifying the name of the column of data
contains the treatment indicators.
a string specifying the name of the column of data
contains the response.
additional arguments to rfsrc
Other VT Step 1 functions:
vt1_lasso(),
vt1_mars(),
vt1_super()