get_irr: get_irr

View source: R/get_irr.R

get_irrR Documentation

get_irr

Description

Calculates the inter-rater reliability of multiple raters using a two-way, absolute agreement, average-measures, mixed intra-class correlation

Usage

get_irr(data, ratings, order_triagelevel)

Arguments

data

A dataframe

ratings

A vector indicating the column names storing the ratings of reach rater

order_triagelevel

A vector indicating the order of triage levels. The triage level with highest urgency should be the first value and the triage level with lowest urgency the last value.

Value

A list containing the inter-rater reliability

Examples

## Not run: 
#' irr <- get_irr(
  data = df,
  ratings = c("datarater1", "datarater2", "datarater3"),
  order_triagelevel = c("Emergency", "Non-Emergency", "Self-care"),
  )
  
## End(Not run)

symptomcheckR documentation built on May 29, 2024, 4:47 a.m.