Learn R Programming

rhoR

What is Rho

Rho is used to test the generalization of inter rater reliability (IRR) statistics. Calculating rho starts by generating a large number of simulated, fully-coded data sets: a sizable collection of hypothetical populations, all of which have a kappa value below a given threshold -- which indicates unacceptable agreement. Then kappa is calculated on a sample from each of those sets in the collection to see if it is equal to or higher than the kappa in then real sample. If less than five percent of the distribution of samples from the simulated data sets is greater than actual observed kappa, the null hypothesis is rejected and one can conclude that if the two raters had coded the rest of the data, we would have acceptable agreement (kappa above the threshold).


Installation

From CRAN

install.packages("rhoR")

Development Version

install.packages("rhoR", repos = c("https://cran.qe-libs.org", "https://cran.rstudio.org"))

Resources

To learn more about Rho, visit the resources page.

Copy Link

Version

Install

install.packages('rhoR')

Monthly Downloads

265

Version

1.3.1

License

GPL-3 | file LICENSE

Maintainer

Cody L Marquart

Last Published

October 15th, 2025

Functions in rhoR (1.3.1)

as.contingency.table

Convert a codeset to a contingency table
kappaSet

Calculate kappa (Set)
kappaCT

Calculate kappa (contingency Table)
getHandSetIndices

Generate a Handset
rhoK

Rho (kappa)
sample_contingency_table

sample_contingency_table
getTestSet

Get Test Set
rhoR

rhoR: A package for computing rho
rhoSet

Rho (set)
kappa_ct

kappa_ct
rhoMin

Rho Min
random_contingency_table

random_contingency_table
kappa

Calculate kappa
getBootPvalue_c

getBootPvalue_c
rho.file

Rho using a file
rhoCT

Rho (contingency Table)
generateKPs_c

generate_kp_list
baserateCT

Calculate Baserate (CT)
$.rating.set

Helper function to return special values on a rating set
as.code.set

Convert codeset to contingency table
codeSet

codeSet
contingency_table

contingency_table
createSimulatedCodeSet

Create Simulated codeSet
baserate

Calculate Baserate
baserateSet

Calculate Baserate (Set)
getHandCT

Get Handset
getHandSet

Get Handset
getHand_kappa

getHand_kappa
contingencyTable

contingencyTable
recall

recall
rho

Rho