plot_density_categorical {APCtools} | R Documentation |
Internal helper to plot a categorical density
Description
Internal helper function to plot one categorical density, to be called from
within plot_density
.
Usage
plot_density_categorical(
dat,
y_var,
dat_highlightDiagonals = NULL,
weights_var = NULL,
xlab = NULL,
ylab = NULL
)
Arguments
dat |
Dataset with columns |
y_var |
Character name of the main variable to be plotted. |
dat_highlightDiagonals |
Optional dataset created by
|
weights_var |
Optional character name of a weights variable used to project the results in the sample to some population. |
xlab , ylab |
Optional plot annotations. |
[Package APCtools version 1.0.4 Index]