Learn R Programming

riskyr (version 0.1.0)

df.scenarios: A collection of riskyr scenarios from various sources.

Description

df.scenarios is an R data frame that contains a collection of scenarios from the scientific literature and other sources.

Usage

df.scenarios

Arguments

Format

A data frame with currently 26 rows (i.e., scenarios) and 21 columns (variables describing each scenario):

Scenarios:

  1. Mammografie 1

  2. Nackenfaltentest (NFT)

  3. HIV 1 (f)

  4. HIV 2 (f)

  5. Mammography 2

  6. Sepsis

  7. Cab problem

  8. Sigmoidoskopie 1

  9. Sigmoidoskopie 1

  10. Brustkrebs 1

  11. Brustkrebs 2 (BRCA1)

  12. Brustkrebs 3 (BRCA1+pos. Mam.)

  13. HIV 3 (m)

  14. HIV 4 (m)

  15. Nackenfaltentest 2 (NFT)

  16. Amniozentese (pos. NFT)

  17. Musical town

  18. Mushrooms

  19. Bowel cancer (FOB screening)

  20. PSA test 1 (high prev)

  21. PSA test 2 (low prev)

  22. Colorectal cancer

  23. Psylicraptis screening

  24. Mammography 6 (prob)

  25. Mammography 6 (freq)

Describing variables:

  1. scen.lbl Text label for current scenario.

  2. scen.lng Language of current scenario.

  3. scen.txt Description text of current scenario.

  4. popu.lbl Text label for current population.

  5. cond.lbl Text label for current condition.

  6. cond.true.lbl Text label for cond.true cases.

  7. cond.false.lbl Text label for cond.false cases.

  8. dec.lbl Text label for current decision.

  9. dec.pos.lbl Text label for dec.pos cases.

  10. dec.neg.lbl Text label for dec.neg cases.

  11. hi.lbl Text label for cases of hits hi.

  12. mi.lbl Text label for cases of misses mi.

  13. fa.lbl Text label for cases of false alarms fa.

  14. cr.lbl Text label for cases of correct rejections cr.

  15. prev Value of current prevalence prev.

  16. sens Value of current sensitivity sens.

  17. spec Value of current specificity spec.

  18. fart Value of current false alarm rate fart.

  19. N Current population size N.

  20. scen.src Source information for current scenario.

  21. scen.apa Source information in APA format.

Note that names of variables (columns) correspond to init_txt (to initialize txt) and init_num (to initialize num).

Details

When loading riskyr, all scenarios contained in df.scenarios are also converted into a list of riskyr objects scenarios.