This function is not exported. It computes data needed to calculate its ALE values.
Arguments
- x_col
character(1). Name of single column in X for which ALE data is to be calculated.
- x_type
character(1). var_type() of x_col.
- x_vals
vector. The values of x_col.
- bins, n
See documentation for
calc_ale()
- max_num_bins
See documentation for
ale()
- X
See documentation for
calc_ale()
. Used only for categorical x_col.