String (length 1). How to aggregate the samples? Either draw a
single ECDF line for the average sample ("mean", the default); or draw a
separate line for each sample ("all"). Note: the latter option can be
very slow if many values were found.
line_color
String (length 1). Color of the ECDF line. Default is
"#5D3FD3", a purple color.
text_size
Numeric. Base font size in pt. Default is 12.
reference_line_alpha
Numeric (length 1). Opacity of the diagonal
reference line. Default is 0.6.
pad
Logical (length 1). Should the ECDF line be padded on the x-axis
so that it stretches beyond the data points? Default is TRUE.
Details
The present function was inspired by
rsprite2::plot_distributions(). However, plot_distributions() shows
multiple lines because it is based on SPRITE, which draws random samples of
possible datasets. CLOSURE is exhaustive, so closure_plot_ecdf() shows
all possible datasets in a single line by default.