Description Usage Arguments Functions
View source: R/scenario_plot.R
Plots the results like in Study 1 of the Vainik et al. paper an overview of the indicator exclusion results. Starred indicators are excluded in the indicator exclusion procedure. See scenario_sim for details. NB! Scenario with no ION violations needs scenario_plot80()
See  scenario_sim for examples
| 1 2 3 4 | scenario_plot(dat, sizes, n_sim, to_n, tn_n = 8 - to_n, multi = 1,
  jitter = 0.05, letter = "", ...)
scenario_plot80(dat, sizes, n_sim, multi = 1, letter = "", ...)
 | 
| dat | simulated data | 
| sizes | An array of sample sizes to be simulated. Can be single value. | 
| n_sim | number of simulations. 1000 is a start, 10000 was used in paper, but takes a long time | 
| to_n | Number of indicators in a Trait relating to Outcome | 
| tn_n | Number of indicators in a Trait Not relating to outcome. | 
| multi | influences cex of certain plot variables. | 
| jitter | Avoid overalp between lines | 
| letter | assigns plot a letter, useful for combining multiple plots | 
| ... | additional options for axis | 
scenario_plot80: For plotting scenarios where ION is not violated
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.