This function allows to calculate the segments slope that connect the ROC curve segments with the reference point (1,0).

1 | ```
curvesegsloperef(curve.fpr, curve.tpr, ref.point)
``` |

`curve.fpr` |
False positive rate vector with all points of the given Curve |

`curve.tpr` |
True positive rate vector with all points of the given Curve |

`ref.point` |
Reference point where we start drawing the sample lines |

This function returns a vector with all segments slopes that connect the ROC curve points to the reference point.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

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.