Name of the column of dataframe that represents the first modality
testdirection1
Indicates the direction of the test for modality 1. If TRUE means that larger test results represent more positive test
modality2
Name of the column of dataframe that represents the second modality
testdirection2
Indicates the direction of the test for modality 2. If TRUE means that larger test results represent more positive test
status1
Name of the column of dataframe that represents the Status 1
related
Boolean parameter that represents if the two modalities are related or not
status2
Name of the column of dataframe that represents the Status 2
Value
This functions returns a list with the following data:
sim1.ind
Vector with the data for Curve 1
sim2.ind
Vector with the data for Curve 2
sim1.sta
Vector with the status for Curve 1
sim2.sta
Vector with the status for Curve 2
Details
By default, the related parameter is set to TRUE. In this case the status2 is not necessary (by default set to (NULL), because in related modalities the status is the same.
Otherwise, if related is set to FALSE, its necessary to indicate the name of status2 column.
In the data must be listed first all values of the distribution of negative cases (0), followed by the positive ones (1).