View source: R/plot.describe_distribution.R
| plot.see_parameters_distribution | R Documentation | 
The plot() method for the parameters::describe_distribution()
function.
## S3 method for class 'see_parameters_distribution'
plot(
  x,
  dispersion = FALSE,
  alpha_dispersion = 0.3,
  color_dispersion = "#3498db",
  dispersion_style = c("ribbon", "curve"),
  size_bar = 0.7,
  highlight = NULL,
  color_highlight = NULL,
  ...
)
x | 
 An object.  | 
dispersion | 
 Logical. If   | 
alpha_dispersion | 
 Numeric value specifying the transparency level of dispersion ribbon.  | 
color_dispersion | 
 Character specifying the color of dispersion ribbon.  | 
dispersion_style | 
 Character describing the style of dispersion area.
  | 
size_bar | 
 Size of bar geoms.  | 
highlight | 
 A vector with names of categories in   | 
color_highlight | 
 A vector of color values for highlighted categories. The remaining (non-highlighted) categories will be filled with a lighter grey.  | 
... | 
 Arguments passed to or from other methods.  | 
A ggplot2-object.
library(parameters)
set.seed(333)
x <- sample(1:100, 1000, replace = TRUE)
result <- describe_distribution(x)
result
plot(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.