plot_targets: Plot observed and simulated targets

View source: R/plot_targets_helpers.R

plot_targetsR Documentation

Plot observed and simulated targets

Description

Plot observed and simulated targets

Usage

plot_targets(
  .engine_ = "ggplot2",
  .l_targets_ = self$calibration_targets,
  .simulated_targets_ = self$simulated_targets,
  .sim_targets_ = FALSE,
  .legend_pos_ = "none"
)

Arguments

.engine_

String naming the plotting engine, currently "ggplot2".

.l_targets_

List containing calibration (observed) targets information.

.simulated_targets_

List containing simulated targets.

.sim_targets_

Logical (default FALSE) for whether to generate plots for the simulated targets.

.legend_pos_

String defining the location of the legend position default (bottom).

Examples

## Not run: 
targets_plots <- plot_targets(
  .l_targets_ = CR_CRS_2P2T$calibration_targets,
  .simulated_targets_ = CR_CRS_2P2T$simulated_targets,
  .sim_targets_ = TRUE)

## End(Not run)

W-Mohammed/calibrater documentation built on Oct. 14, 2023, 1:57 a.m.