Description Usage Arguments Examples
View source: R/vis-numeric-dists.R
Returns a facetted plot of the density estimate (scaled to 1) including an overlay of the ECDF and horizontal box plot
1 2 3 4 5 6 7 8 9 10 | numeric_dists(
x,
cols = dplyr::everything(),
remove_outliers = FALSE,
bp_thickness = 0.12,
bp_center = 0,
density_colour = "grey",
bp_colour = "blue",
ecdf_colour = "red"
)
|
x |
dataframe containing numeric columns |
cols |
Tidyselect columns to use (default = |
remove_outliers |
Rremove outliers before visualisation (default = FALSE) |
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 |
1 | numeric_dists(diamonds[1:3000, ])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.