txt_TF is initialized to a set of text labels
to enable an alternative frequency naming scheme in which
"hi, mi, fa, cr" are labeled as "TP, FN, FP, TN".
Details
See txt for details and default text information.
Assign txt <- txt_TF to use as default text labels.
See also
txt contains current text information;
init_txt initializes text information;
pal contains current color information;
init_pal initializes color information.
Other lists containing current scenario information:
accu,
freq,
num,
pal,
pal_bw,
pal_bwp,
pal_kn,
pal_mbw,
pal_mod,
pal_org,
pal_rgb,
pal_unikn,
pal_vir,
prob,
txt,
txt_org
Examples
txt_TF # shows all labels of txt_TF
#> $scen_lbl
#> [1] "Scenario"
#>
#> $scen_txt
#> [1] "Description of the current scenario in a short paragraph of text. This description may include several sentences."
#>
#> $scen_src
#> [1] "Source information"
#>
#> $scen_apa
#> [1] "Source information in APA format"
#>
#> $scen_lng
#> [1] "en/de"
#>
#> $popu_lbl
#> [1] "Population"
#>
#> $N_lbl
#> [1] "N"
#>
#> $cond_lbl
#> [1] "True condition"
#>
#> $cond_true_lbl
#> [1] "present"
#>
#> $cond_false_lbl
#> [1] "absent"
#>
#> $dec_lbl
#> [1] "Outcome"
#>
#> $dec_pos_lbl
#> [1] "positive"
#>
#> $dec_neg_lbl
#> [1] "negative"
#>
#> $acc_lbl
#> [1] "Accuracy"
#>
#> $dec_cor_lbl
#> [1] "correct"
#>
#> $dec_err_lbl
#> [1] "incorrect"
#>
#> $sdt_lbl
#> [1] "Cases"
#>
#> $hi_lbl
#> [1] "TP"
#>
#> $mi_lbl
#> [1] "FN"
#>
#> $fa_lbl
#> [1] "FP"
#>
#> $cr_lbl
#> [1] "TN"
#>
txt_TF["hi_lbl"] # shows current label for hits ("TP")
#> $hi_lbl
#> [1] "TP"
#>
txt_TF["hi_lbl"] <- "hit" # re-label hits (change "TP" to "hit")
