best_predictor: Best predictor function from causal_forest

View source: R/helpers-causal-forests.R

best_predictorR Documentation

Best predictor function from causal_forest

Description

Best predictor function from causal_forest

Usage

best_predictor(data, covariate_names, cuts = 20)

Arguments

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.

Value

a data.frame of the best predictors


rdss documentation built on Oct. 11, 2024, 1:08 a.m.