scenario_plot: Plot scenario simulation results

Description Usage Arguments Functions

View source: R/scenario_plot.R

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

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 = "", ...)

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


ionr documentation built on May 2, 2019, 11:25 a.m.

Related to scenario_plot in ionr...