Visualise distributions of numeric and categorical columns in a dataframe
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | dists(
x,
cols = dplyr::everything(),
remove_outliers = FALSE,
top_n = 5,
bp_thickness = 0.12,
bp_center = 0,
density_colour = "grey",
bp_colour = "blue",
ecdf_colour = "red",
na_colour = "blue",
other_colour = "grey50",
...
)
|
x |
a dataframe |
cols |
Tidyselect columns to use (default = |
remove_outliers |
Remove outliers from numeric columns before visualisation (default = FALSE) |
top_n |
The top n levels to show - all other values will be lumped into 'Other' |
bp_thickness |
Boxplot thickness (in units of y) |
bp_center |
Boxplot centre height (in units of y) |
density_colour |
Density estimate fill colour |
bp_colour |
Boxplot colour |
ecdf_colour |
ECDF colour |
na_colour |
Colour for NA bars |
other_colour |
Colour for lumped 'Other' bars |
... |
Further arguments passed to |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.