plot_ecdf_pvalue {asympDiag} | R Documentation |
Plot Empirical Cumulative Distribution Function (ECDF) of p-values
Description
Plot Empirical Cumulative Distribution Function (ECDF) of p-values
Usage
plot_ecdf_pvalue(
p_values,
ks_test = TRUE,
signif = c(0.01, 0.05, 0.1),
discrepancy_tol = 0.1,
plot_uniform = TRUE,
uniform_legend = TRUE,
main = "",
ylab = "Empirical cumulative distribution",
xlab = "p-value",
...
)
Arguments
p_values |
vector of p-values |
ks_test |
If |
signif |
Points to verify discrepancy. |
discrepancy_tol |
Threshold to consider point discrepant. |
plot_uniform |
Logical. If TRUE, plot uniform distribution. |
uniform_legend |
Logical. If TRUE, a legend is added to the plot to distinguish between the p-value and U(0, 1) curves. Defaults to TRUE. |
main |
main caption passed to plot |
ylab |
The label for the y-axis. Defaults to "Empirical cumulative distribution". |
xlab |
The label for the x-axis. Defaults to "p-value". |
... |
extra arguments passed to graphics::plot |
Value
No return value, called for side effects
[Package asympDiag version 0.3.1 Index]