Learn R Programming

DHARMa (version 0.4.1)

testPDistribution: Plot distribution of p-values

Description

Plot distribution of p-values

Usage

testPDistribution(x, plot = T,
  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