BayesianReasoning (version 0.4.0)

.createPPVmatrix: .createPPVmatrix

Description

Create a PPV matrix helper function

Usage

.createPPVmatrix(
  min_Prevalence = 1,
  max_Prevalence = 1000,
  Sensitivity = 100,
  Specificity = 99,
  one_out_of = TRUE,
  PPV_NPV = "PPV",
  min_FP = 0,
  max_FP = 10,
  max_FN = 0,
  min_FN = 10,
  steps_matrix = 100
)

Arguments

min_Prevalence

[x] out of y prevalence of disease

max_Prevalence

x out of [y] prevalence of disease

Sensitivity

Sensitivity of test

Specificity

Specificity of test

one_out_of

.

PPV_NPV

Should show PPV or NPV ["PPV", "NPV"]

min_FP

Minimum False Positive ratio

max_FP

Maximum False Positive ratio

max_FN

.

min_FN

.

steps_matrix

How big the matrix should be (probably better to leave as it is: 100)

Value

A DF called PPV_melted