Learn R Programming

DHARMa (version 0.4.7)

plot.DHARMaBenchmark: Plots DHARMa benchmarks

Description

The function plots the result of an object of class DHARMaBenchmark, created by runBenchmarks.

Usage

# S3 method for DHARMaBenchmark
plot(x, ...)

Arguments

x

object of class DHARMaBenchmark, created by runBenchmarks.

...

parameters to pass to the plot function.

Details

The function will create two types of plots, depending on whether the run contains only a single value (or no value) of the control parameter, or whether a vector of control values is provided:

If a single or no value of the control parameter is provided, the function will create box plots of the estimated p-values, with the number of significant p-values plotted to the left.

If a control parameter is provided, the function will plot the proportion of significant p-values against the control parameter, with 95% CIs based based on the performed replicates displayed as confidence bands.

See Also

runBenchmarks