View source: R/calc_obs_agree.R
calc_obs_agree | R Documentation |
This is really just a wrapper for the irr::agree()
function from that
package, but I wanted to calculate the confidence interval also.
calc_obs_agree(data, ..., alpha = 0.05, tolerance = 0)
data |
A data frame or tibble, n subjects (rows) and m raters (columns) |
... |
Variables or columns of ratings |
alpha |
Numeric; two-sided type one error, default = 0.05 |
tolerance |
Used in the |
Missing data are omitted in a listwise way. Using extended percentage agreement (tolerance!=0) is only possible for numerical values. If tolerance equals 1, for example, raters differing by one scale degree are interpreted as agreeing.
A tibble with the following columns
N |
Number of subjects |
po |
Percent agreement among raters |
se_po |
Standard error of the proportion |
conf_low |
Lower asymptotic confidence interval |
conf_high |
Upper asymptotic confidence interval |
library(irr)
data("video")
calc_obs_agree(data = video, rater1:rater4)
calc_obs_agree(data = video, rater1:rater2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.