This function calculates rho and kappa for a given contingencyTable
, and returns a list containing both values. Called by rho
.
rhoCT( x, OcSBaserate = NULL, testSetBaserateInflation = 0, OcSLength = 10000, replicates = 800, ScSKappaThreshold = 0.9, ScSKappaMin = 0.4, ScSPrecisionMin = 0.6, ScSPrecisionMax = 1 )
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 |
rho for the given parameters
A list of the format:
The rho of the contingencyTable
The Cohen's Kappa of the contingencyTable