scenario_plot {ionr} | R Documentation |
Plot scenario simulation results
Description
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
Usage
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 = "", ...)
Arguments
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 |
Functions
-
scenario_plot80
: For plotting scenarios where ION is not violated