Description Usage Arguments Value Author(s) Examples

To compute and draw a ROC curve.

1 |

`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: |

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.

B. Wang [email protected]

1 2 3 |

bda documentation built on Jan. 5, 2018, 9:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.