get_ccs_by_triage {symptomcheckR}R Documentation

get_ccs_by_triage

Description

Calculates the Capability Comparison Score (CCS) for each symptom checker and each triage level

Usage

get_ccs_by_triage(data, correct, vignettes, apps, triagelevel)

Arguments

data

A dataframe

correct

A string indicating the column name storing if the symptom checker solved the case (TRUE or FALSE)

vignettes

A string indicating the column name storing the vignette or vignette number

apps

A string indicating the column name storing the app names

triagelevel

A string indicating the column name storing the correct triage solutions

Value

A data frame object containing the capability comparison score for each symptom checker on each triage level.

Examples

data(symptomcheckRdata)
ccs <- get_ccs_by_triage(
  data = symptomcheckRdata,
  correct = "Correct_Triage_Advice_provided_from_app",
  vignettes = "Vignette_id",
  apps = "App_name",
  triagelevel = "Goldstandard_solution"
  )

[Package symptomcheckR version 0.1.3 Index]