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.
# create a data setv1=c(seq(1,10,0.5))
v2=c(seq(2,11,0.5))
n=c(seq(1,19,1))
new=cbind(n,v1,v2)
# cutpoint of the first test is 1.6, of the second test 2.3result=data.cp(new,2,3,1.6,2.3)