View source: R/plot_targets_helpers.R
plot_targets | R Documentation |
Plot observed and simulated targets
plot_targets(
.engine_ = "ggplot2",
.l_targets_ = self$calibration_targets,
.simulated_targets_ = self$simulated_targets,
.sim_targets_ = FALSE,
.legend_pos_ = "none"
)
.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). |
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.