diagnostic_wrap {hmer}R Documentation

Diagnostic plots for wave outputs

Description

A wrapper function for the set of diagnostic plots for multiple waves.

Usage

diagnostic_wrap(
  waves,
  targets,
  output_names = names(targets),
  input_names = names(waves[[1]])[!names(waves[[1]]) %in% names(targets)],
  directory = NULL,
  s.heights = rep(1000, 4),
  s.widths = s.heights,
  include.norm = TRUE,
  include.log = TRUE,
  ...
)

Arguments

waves

The wave points, as a list of data.frames.

targets

The output targets.

output_names

The outputs to plot.

input_names

The inputs to plot.

directory

The location of files to be saved (if required).

s.heights

The heights of the saved pngs (if directory is not NULL).

s.widths

The widths of the saved pngs (if directory is not NULL).

include.norm

Should normalized versions of simulator_plot and wave_dependencies be made?

include.log

Should the log-scale version of simulator_plot be made?

...

Optional parameters (eg p_size, l_wid, ...)

Details

The functions simulator_plot, wave_points, wave_points, and wave_dependencies are called, one after the other, to allow diagnosis of waves of emulation.

The directory option should be used as follows. If the desired location is in fact a folder, it should end in "/"; if instead the structure requires each plot to be saved with a prefix, then it should be provided. For example, directory = "Plots/" in the first event or directory = "Plots/unique-identifier" in the second event.

Value

The set of plots (either into console or saved).

See Also

Other visualisation tools: behaviour_plot(), effect_strength(), emulator_plot(), hit_by_wave(), output_plot(), plot_actives(), plot_lattice(), plot_wrap(), simulator_plot(), space_removed(), validation_pairs(), wave_dependencies(), wave_points(), wave_values()

Examples


 diagnostic_wrap(SIRMultiWaveData, SIREmulators$targets)
 diagnostic_wrap(SIRMultiWaveData, SIREmulators$targets,
  input_names = c('aSI', 'aIR'), output_names = c('nI', 'nR'),
  p_size = 0.8, l_wid = 0.8, wave_numbers = 1:3, zero_in = FALSE, surround = TRUE)
  

[Package hmer version 1.6.0 Index]