View source: R/helpers-causal-forests.R
best_predictor | R Documentation |
Best predictor function from causal_forest
best_predictor(data, covariate_names, cuts = 20)
data |
A data.frame of covariates |
covariate_names |
A character vector of covariates to assess |
cuts |
Either a numeric vector of two or more unique cut points or a single number (greater than or equal to 2) giving the number of intervals into which each covariate is to be cut. |
a data.frame of the best predictors
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.