rhoCT {rhoR} | R Documentation |
Rho (contingency Table)
Description
This function calculates rho and kappa for a given contingencyTable
, and returns a list containing both values. Called by rho
.
Usage
rhoCT(
x,
OcSBaserate = NULL,
testSetBaserateInflation = 0,
OcSLength = 10000,
replicates = 800,
ScSKappaThreshold = 0.9,
ScSKappaMin = 0.4,
ScSPrecisionMin = 0.6,
ScSPrecisionMax = 1
)
Arguments
x |
The observed kappa value, |
OcSBaserate |
The |
testSetBaserateInflation |
The minimum |
OcSLength |
The length of the observed |
replicates |
The number of simulated |
ScSKappaThreshold |
The maximum kappa value used to generate simulated |
ScSKappaMin |
The minimum kappa value used to generate simulated |
ScSPrecisionMin |
The minimum precision to be used for generation of simulated |
ScSPrecisionMax |
The maximum precision to be used for generation of simulated |
Value
rho for the given parameters
A list of the format:
- rho
The rho of the
contingencyTable
- kappa
The Cohen's Kappa of the
contingencyTable