plot_diagnostics: Visualise diagnostics across the tested arguments

Description Usage Arguments Value Examples

View source: R/plot_diagnostics.R

Description

Using various aesthetics, plot_diagnostics() can visualise the performance of all combinations of up to 4 different arguments simultaneously.

Usage

1
2
3
4
5
6
plot_diagnostics(
  object,
  focused_args = NULL,
  average_out_non_focused_args = TRUE,
  plot_order = NULL
)

Arguments

object

an object of class 'testargs'

focused_args

the arguments we wish to plot. If NULL, all arguments are plotted (i.e., focused_args = object@arg_names)

average_out_non_focused_args

logical indicating whether we should average over the non-focused arguments

plot_order

specifies the order in which we are to assign arguments to the various aesthetics. If NULL, the arguments are assigned based on their type, in the order 'numeric', 'integer', 'factor', 'character', and 'logical'. Otherwise, plot_order should be an integer vector with the same length as focused_args

Value

a facetted 'ggplot' object, where:

Examples

1
## See ?test_arguments

testarguments documentation built on May 28, 2021, 9:06 a.m.