Description Usage Arguments Value Author(s) Examples
Plot old, selected and new candidate scenarios.
1 | plot_scenarios(old, selected, new, parameter, groups)
|
old |
Original scenarios from which selection was made |
selected |
Selected scenarios |
new |
New scenarios based on selection |
parameter |
Nuisance parameter |
groups |
Parameter of interest |
scatter plot of scenarios
Florian Klinglmueller
1 2 3 4 5 6 7 | scenarios <- expand.grid(m=seq(0,1,.01),s=seq(1,2,.01),n=1000)
results <- simulate_batch(scenarios,100000,simulate_poly)
candidates <- select_results(results,'s',"result")
smooth <- smooth_loess(candidates,'m','s',10)
grid <- add_neighbours(candidates,'m',.2,10)
plot_scenarios(results,candidates,smooth,'m','s')
plot_scenarios(results,candidates,grid,'m','s')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.