powered by
Plots estimated densities of all continuous features X, conditioned on a specified categorical feature C.
dsldConfounders(data, sName, graphType = "plotly", fill = FALSE)
No value; plot.
Dataframe, at least 2 columns.
Name of the categorical column, an R factor. In discrimination contexts, Typically a sensitive variable.
Either "plot" or "plotly", for static or interactive graphs. The latter requires the plotly package.
Only applicable to graphType = "plot" case. Setting to true will color each line down to the x-axis.
N. Matloff, T. Abdullah, A. Ashok, J. Tran
# \donttest{ data(svcensus) dsldConfounders(svcensus, "educ") # }
Run the code above in your browser using DataLab