txt is initialized to a list of named elements
to define basic scenario titles and labels.
An object of class
list of length 21.
All textual elements that specify generic labels and titles of
are stored as named elements (of type character) in a list
To change an element, assign a new character object to an existing name.
txt is used throughout the
unless a scenario defines scenario-specific text labels
(when using the
The names of probabilities
prob) are currently
not an integral part of
(but defined in
txt currently contains the following text labels:
scen_lbl The current scenario title (sometimes in Title Caps).
scen_txt A longer text description of the current scenario
(which may extend over several lines).
scen_src The source information for the current scenario.
scen_apa The source information in APA format.
scen_lng The language of the current scenario (as character code).
popu_lbl A general name describing the current population.
N_lbl A short label for the current population
popu or sample.
cond_lbl A general name for the condition dimension,
or the feature (e.g., some disease) currently considered.
cond_true_lbl A short label for the presence of the current condition
cond_true cases (the condition's true state of being TRUE).
cond_false_lbl A short label for the absence of the current condition
cond_false cases (the condition's true state of being FALSE).
dec_lbl A general name for the decision dimension,
or the judgment (e.g., some diagnostic test) currently made.
dec_pos_lbl A short label for positive decisions
dec_pos cases (e.g., predicting the presence of the condition).
dec_neg_lbl A short label for negative decisions
dec_neg cases (e.g., predicting the absence of the condition).
acc_lbl A general name for the accuracy dimension,
or the correspondence between the condition currently considered
and the decision judgment currently made.
dec_cor_lbl A short label for correct and accurate decisions
dec_cor cases (accurate predictions).
dec_err_lbl A short label for incorrect decisions
dec_err cases (erroneous predictions).
sdt_lbl A general name for all 4 cases/categories/cells
of the 2x2 contingency table (e.g., condition x decision, using SDT).
hi_lbl A short label for hits or true positives
(i.e., correct decisions of the presence of the condition, when the condition is actually present).
mi_lbl A short label for misses or false negatives
(i.e., incorrect decisions of the absence of the condition when the condition is actually present).
fa_lbl A short label for false alarms or false positives
(i.e., incorrect decisions of the presence of the condition when the condition is actually absent).
cr_lbl A short label for correct rejections or true negatives
(i.e., a correct decision of the absence of the condition, when the condition is actually absent).
init_txt initializes text information;
riskyr initializes a
num contains basic numeric parameters;
init_num initializes basic numeric parameters;
pal contains current color information;
init_pal initializes color information;
freq contains current frequency information;
comp_freq computes current frequency information;
prob contains current probability information;
comp_prob computes current probability information.
txt # Show all current names and elements#> $scen_lbl #>  "Scenario" #> #> $scen_txt #>  "Description of the current scenario in a short paragraph of text. This description may include several sentences." #> #> $scen_src #>  "Source information" #> #> $scen_apa #>  "Source information in APA format" #> #> $scen_lng #>  "en/de" #> #> $popu_lbl #>  "Population" #> #> $N_lbl #>  "N" #> #> $cond_lbl #>  "Truth" #> #> $cond_true_lbl #>  "True" #> #> $cond_false_lbl #>  "False" #> #> $dec_lbl #>  "Test" #> #> $dec_pos_lbl #>  "Positive" #> #> $dec_neg_lbl #>  "Negative" #> #> $acc_lbl #>  "Accuracy" #> #> $dec_cor_lbl #>  "Correct" #> #> $dec_err_lbl #>  "Incorrect" #> #> $sdt_lbl #>  "Cases" #> #> $hi_lbl #>  "TP" #> #> $mi_lbl #>  "FN" #> #> $fa_lbl #>  "FP" #> #> $cr_lbl #>  "TN" #>txt$scen_lbl # Show the current scenario label (e.g., used in plot titles)#>  "Scenario"txt$scen_lbl <- "My example" # Set a new scenario title