plot_scenarios: plot scenarios

Description Usage Arguments Value Author(s) Examples

Description

Plot old, selected and new candidate scenarios.

Usage

1
plot_scenarios(old, selected, new, parameter, groups)

Arguments

old

Original scenarios from which selection was made

selected

Selected scenarios

new

New scenarios based on selection

parameter

Nuisance parameter

groups

Parameter of interest

Value

scatter plot of scenarios

Author(s)

Florian Klinglmueller

Examples

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')

floatofmath/casino documentation built on May 16, 2019, 1:21 p.m.