Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


dyngen (version 1.0.5)

plot_gold_mappings: Visualise the mapping of the simulations to the gold standard

Description

Visualise the mapping of the simulations to the gold standard

Usage

plot_gold_mappings(
  model,
  selected_simulations = NULL,
  do_facet = TRUE,
  mapping = aes_string("comp_1", "comp_2")
)

Value

A ggplot2 object.

Arguments

model

A dyngen intermediary model for which the simulations have been run with generate_cells().

selected_simulations

Which simulation indices to visualise.

do_facet

Whether or not to facet according to simulation index.

mapping

Which components to plot.

Examples

Run this code
# \donttest{
data("example_model")
plot_gold_mappings(example_model)
# }

Run the code above in your browser using DataLab