computeQuants {fairadapt} | R Documentation |
Compute quantiles generic for the quantile learning step
Description
Compute quantiles generic for the quantile learning step
Usage
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
.
[Package
fairadapt version 1.0.0
Index]