benchmark_plot: benchmark plot

View source: R/benchmark_plot.R

benchmark_plotR Documentation

benchmark plot

Description

benchmark plot

Usage

benchmark_plot(
  pdata,
  empirical = NULL,
  prunkcut = 0.05,
  benchmark = c("pij", "input")
)

Arguments

pdata

data("removal_global")

empirical

logical, should empirical data be plotted (if TRUE), or artificial data (if FALSE). Default is NULL, which combines both sets.

prunkcut

numeric, the cutoff for unknown relationships. Default is 0.05.

benchmark

character, either "pij" or "input". With "pij" steepness based on Pij David's score is used as ground truth. With "input", we use the steepness value that was used during interaction data generation as ground truth, and this is only applicable when empirical = FALSE.

Value

a plot and invisibly the results of correlation and simple regression.

Examples

data("removal_global")
benchmark_plot(removal_global, empirical = TRUE, benchmark = "pij")
x <- benchmark_plot(removal_global, empirical = FALSE, benchmark = "input")
x

gobbios/EloSteepness.data documentation built on Oct. 18, 2022, 11:19 p.m.