# Receiver operating characteristic (ROC)

### Description

To compute and draw a ROC curve.

### Usage

1 |

### Arguments

`y` |
Logical. Actual status: event or not. |

`x` |
Numberical vector based on which the diagnosis is performed. |

`z` |
Logical. A covariate for diagnosis in addition to 'x'. |

`event` |
Default: |

### Value

The TPR or sensitivity, and FPR or (1-specificity) will be returned together with the cutoffs.

The area under the ROC curve can be computed using `summary`

function.

The ROC curve can be ploted using `plot`

function.

### Author(s)

B. Wang bwang@southalabama.edu

### Examples

1 2 3 |