Graphs densities of a response variable, grouped by a sensitive variable.
Similar to dsldConfounders, but includes sliders to control the
bandwidth of the density estimate (analogous to controlling the bin
width in a histogram).
Usage
dsldDensityByS(data, cName, sName, graphType = "plotly", fill = FALSE)
Value
No value; plot.
Arguments
data
Datasetwith at least 1 numerical column and 1 factor column
cName
Possible confounding variable column, an R numeric
sName
Name of the sensitive variable column, an R factor