pointsCurve: Points of the ROC curve

Description Usage Arguments Value Examples

View source: R/pointsCurve.R

Description

It calculates the coordinates (fpr, sen) of the ROC curve. This function sorts the scores of a model test and generates the points which will be used to plot its the ROC curve

Usage

1

Arguments

x

It is the vector of the status (gold standar)

y

It is the vector with the values of a predictor variable or clasificator

Value

return a matrix with the points of 1-specificity and sensibility that will be used to generate a ROC curve

Examples

1
2
3
4
library(fission)
data("fission")
strain <- fission@colData@listData$strain
pointsCurve<- pointsCurve(strain, t(assay(fission))[,"SPNCRNA.1080"])

ROCpAI documentation built on Nov. 8, 2020, 8:04 p.m.