predict.sg.SL | R Documentation |
Obtains predictions on a new data set from an sg.SL fit.
predict.sg.SL(object, newdata = NULL)
object |
Fitted object from |
newdata |
New W values for prediction. |
If newdata
is omitted, then predicted values from object
are returned.
A matrix of conditional average treatment effects (estimated by SuperLearner) with rows corresponding to the different covariate values in the rows of newdata
and columns corresponding to the different treatments.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.