Description Usage Arguments Value
Make predictions from a pollinated ranger random forest model
1 2 3 |
object |
a fitted |
newx |
matrix of new covariates for which predictions are desired |
predict.all |
logical: should predictions from all trees be returned? Otherwise the average across trees is returned |
na.treatment |
how to treat NA predictions from individual trees: 'omit' only uses trees for which the prediction is not NA. 'replace' replaces NA predictions with the overall mean response. 'NA' returns NA if any tree prediction is NA. |
... |
additional arguments passed on to |
a vector of predicted treatment effects corresponding to the rows of newx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.