Description Usage Arguments Examples
Plots the points of a wave as a pairs plot, coloured by emulator expectation (lower) and variance (upper) for each output.
1 | visualisation_plot(ems, input_points, output_names)
|
ems |
The list of emulators |
input_points |
The points on which to evaluate the emulators |
output_names |
The list of outputs |
1 2 3 4 5 6 7 8 9 10 | ranges <- list(aSI = c(0.1, 0.8), aIR = c(0, 0.5), aSR = c(0, 0.05))
targets <- list(
list(val = 281, sigma = 10.43),
list(val = 30, sigma = 11.16),
list(val = 689, sigma = 14.32)
)
outputs <- c('nS','nI','nR')
ems <- emulator_from_data(GillespieSIR, outputs, ranges, deltas = rep(0.1, 3))
t_ems <- purrr::map(seq_along(ems), ~ems[[.]]$adjust(GillespieSIR, outputs[[.]]))
visualisation_plot(t_ems, GillespieSIR, outputs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.