View source: R/runBenchmarks.R
plot.DHARMaBenchmark | R Documentation |
The function plots the result of an object of class DHARMaBenchmark, created by runBenchmarks.
## S3 method for class 'DHARMaBenchmark'
plot(x, ...)
x |
object of class DHARMaBenchmark, created by runBenchmarks. |
... |
parameters to pass to the plot function. |
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.
runBenchmarks
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.