decisioncompare Identical Tests Data
Source:R/data_decisioncompare_docs.R
decisioncompare_identical.RdEdge case dataset with 100 patients where Test1 and Test2 are identical. Tests handling of perfect agreement between tests.
Format
A data frame with 100 rows and 4 variables:
- patient_id
Character: Patient identifier (PT001-PT100)
- GoldStandard
Factor: True status ("Negative", "Positive"), 30% positive
- Test1
Factor: First test ("Negative", "Positive"), Sens=0.85, Spec=0.88
- Test2
Factor: Identical to Test1
- age
Numeric: Patient age in years (mean 58, SD 10)
Examples
data(decisioncompare_identical)
decisioncompare(data = decisioncompare_identical, gold = "GoldStandard",
goldPositive = "Positive", test1 = "Test1",
test1Positive = "Positive", test2 = "Test2",
test2Positive = "Positive", statComp = TRUE)
#> Error in decisioncompare(data = decisioncompare_identical, gold = "GoldStandard", goldPositive = "Positive", test1 = "Test1", test1Positive = "Positive", test2 = "Test2", test2Positive = "Positive", statComp = TRUE): argument "test3Positive" is missing, with no default