Raincloud plot for hrest objects
plot_raincloud.RdCreates a unified raincloud visualization combining:
Jittered raw data points
Half-violin density plots
Mean with confidence interval as pointrange
Usage
plot_raincloud(
hrest,
theme = "modern",
colors = "okabe_ito",
config = NULL,
show_bootstrap = TRUE,
jitter_width = 0.15,
point_size = 1.5
)Arguments
- hrest
An hrest object from
estimate- theme
the visual theme to use. Either "modern" (default) or "classic"
- colors
the color palette to use. Either "okabe_ito" (default), "default", or "viridis"
- config
an optional besthr_plot_config object for advanced customization. If provided, theme and colors parameters are ignored.
- show_bootstrap
Ignored (kept for backward compatibility).
- jitter_width
Numeric width of jitter for data points. Default 0.15.
- point_size
Numeric size for jittered points. Default 1.5.
