Learn R Programming

dyngen (version 0.4.0)

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(comp_1, comp_2)
)

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.

Value

A ggplot2 object.

Examples

Run this code
# NOT RUN {
data("example_model")
plot_gold_mappings(example_model)
# }

Run the code above in your browser using DataLab