powered by
Generates a 2x2 plot layout showing: Histogram, Boxplot, Kernel Density, and TTT Plot.
plot_data( x, col = "steelblue", border = "black", transparency = 0.5, lwd = 2, breaks = "Sturges" )
NULL (plots are drawn)
Numeric vector of data.
Color for plots (default "steelblue").
Border color for histograms/boxplots (default "black").
Transparency for filled areas (0-1, default 0.5).
Line width for plots (default 2).
Histogram breaks (default "Sturges").
set.seed(123) mydata <- rexp(100, 1) plot_data(mydata, col = "darkblue", transparency = 0.35, lwd = 2)
Run the code above in your browser using DataLab