| read.tab.1test | R Documentation | 
Reads in objects of class tab.1test using cell frequencies.
read.tab.1test(a, b, c, d, testname, ...)
a | 
 The number of diseased subjects with a positive test.  | 
b | 
 The number of non-diseased subjects with a positive test.  | 
c | 
 The number of diseased subjects with a negative test.  | 
d | 
 The number of non-diseased subjects with a negative test.  | 
testname | 
 An optional vector specifying the name of the diagnostic test, e.g.   | 
... | 
 Additional arguments (usually not required).  | 
Returns a list of class tab.1test containing:
tab.1test | 
 A contingency table (matrix) of test results. 
  | ||||||||||||||||
testname | 
 The name of the diagnostic test.  | 
Objects of class tab.1test are required as arguments for acc.1test, a function to compute the accuracy of a binary diagnostic test.
tab.1test,
print.tab.1test, 
acc.1test.
read.t1 <- read.tab.1test(321, 51, 730, 272, testname="Test1")
class(read.t1)
read.t1
acc.1test(read.t1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.