Learn R Programming

BayesianReasoning (version 0.4.0)

.get_point_ppv_npv: .get_point_ppv_npv

Description

Get PPV or NPV for the overlay

Usage

.get_point_ppv_npv(
  PPV_melted,
  PPV_NPV = "PPV",
  Language,
  Sensitivity,
  Specificity,
  overlay_prevalence_1,
  overlay_prevalence_2,
  overlay_labels,
  overlay_extra_info = FALSE,
  overlay_position_FP,
  overlay_position_FN,
  point_Prevalence,
  translated_labels,
  decimals_x,
  decimals_y
)

Arguments

PPV_melted

DF out of .createPPVmatrix()

PPV_NPV

Should calculate PPV or NPV?

Language

["en" / "es"]

Sensitivity

Sensitivity of the test

Specificity

Specificity of the test

overlay_prevalence_1

[x] out of y prevalence of disease

overlay_prevalence_2

x out of [y] prevalence of disease

overlay_labels

vector with labels for each overlay point

overlay_extra_info

show extra info in overlay? [TRUE/FALSE]

overlay_position_FP

.

overlay_position_FN

.

point_Prevalence

.

translated_labels

.

decimals_x

.

decimals_y

.