dot-plot_correlation.RdShows the distribution of within-trial, within-arm endpoint correlations. The dashed line is the user-specified target correlation.
.plot_correlation(
x,
type = c("density", "histogram", "ecdf"),
display = "all",
endpoint = NULL,
arm = NULL,
show_reference = TRUE,
max_points = 100000L,
...
)A result returned by sampleSize() or simPower() with
keep_sim_data = TRUE.
Plot type: "density", "histogram", or "ecdf".
Comparator names to display, or "all".
Optional endpoint names to display.
Optional arm names to display.
Logical; overlay the target correlation.
Maximum number of retained observations used.
Unused additional arguments.
A ggplot object.