Description Usage Arguments Value Author(s) Examples
Binary data are sometimes needed to analyse these data. Data of two situation (e.g. diagnostic tests) with continous outcome are assumed to be given. With the help of the cutpoint for each test, these data can be dichotomise.
1 | data.cp(dat, col.test1, col.test2, cp.test1, cp.test2)
|
dat |
name of the data set you want to be dichotomise |
col.test1 |
number of the column of the first test in the data set, which shall be dichotomised |
col.test2 |
number of the column of the second test in the data set, which shall be dichotomised |
cp.test1 |
cutpoint for the first test |
cp.test2 |
cutpoint for the second test |
A matrix containing the two tests with binary data
Daniela Wenzel, Antonia Zapf
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.