plot_density_categorical | R Documentation |
Internal helper function to plot one categorical density, to be called from
within plot_density
.
plot_density_categorical( dat, y_var, dat_highlightDiagonals = NULL, weights_var = NULL, xlab = NULL, ylab = NULL )
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.