Best predictor function from causal_forest
best_predictor(data, covariate_names, cuts = 20)
a data.frame of the best predictors
A data.frame of covariates
A character vector of covariates to assess
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.