Learn R Programming

DHARMa (version 0.4.7)

testPDistribution: Plot distribution of p-values.

Description

Plot distribution of p-values.

Usage

testPDistribution(x, plot = TRUE,
  main = "p distribution \n expected is flat at 1", ...)

Arguments

x

vector of p values.

plot

should the values be plotted.

main

title for the plot.

...

additional arguments to hist.

Author

Florian Hartig