Compute Quantiles generic for the Quantile Learning step.

computeQuants(x, data, newdata, ind, ...)

Arguments

x

Object with an associated computeQuants() method, to be used for inferring quantiles.

data

data.frame containing samples used in the quantile regression.

newdata

data.frame containing counterfactual values for which the quantiles need to be inferred.

ind

A logical vector of length nrow(data), indicating which samples have the baseline value of the protected attribute.

...

Additional arguments to be passed down to respective method functions.

Value

A vector of counterfactual values corresponding to newdata.