Learn R Programming

DTComPair (version 1.2.6)

Paired1: DTComPair-dataset 1

Description

Hypothetical data from a paired study that aims to compare the accuracy of two binary diagnostic tests.

Usage

Paired1

Arguments

Format

A dataframe containing 3 columns (d, y1 and y2) and 712 rows.

d is a numeric vector specifying the gold-standard results (1 = presence of disease, 0 = absence of disease).

y1 is a numeric vector specifying the results of diagnostic test 1 (1 = positive, 0 = negative).

y2 is a numeric vector specifying the results of diagnostic test 1 (1 = positive, 0 = negative).

Examples

Run this code
data(Paired1) # Hypothetical study data 
ftable(Paired1)

Run the code above in your browser using DataLab