get_comprehensiveness {symptomcheckR}R Documentation

get_comprehensiveness

Description

Calculates the comprehensiveness for one or multiple symptom checkers

Usage

get_comprehensiveness(
  data,
  triagelevel_advice,
  vector_not_entered,
  apps = NULL,
  CI = FALSE
)

Arguments

data

A dataframe

triagelevel_advice

A string indicating the column name storing the recommendation of a symptom checker for a case

vector_not_entered

A vector indicating the values in which missing values are coded (e.g., as NA or a specified value such as -99)

apps

A string indicating the column name storing the app names

CI

A Boolean (TRUE or FALSE) indicating whether 95% confidence intervals should be output (optional)

Value

A list containing both a raw number and the percentage of comprehensiveness for one or multiple symptom checkers

Examples

data(symptomcheckRdata)
comprehensiveness <- get_comprehensiveness(
  data = symptomcheckRdata,
  triagelevel_advice = "Triage_advice_from_app",
  vector_not_entered = c(NA),
  apps = "App_name",
  CI = TRUE
  )


[Package symptomcheckR version 0.1.3 Index]