mROC_analysis: Main eROC analysis that plots ROC and eROC

View source: R/mROC.R

mROC_analysisR Documentation

Main eROC analysis that plots ROC and eROC

Description

Main eROC analysis that plots ROC and eROC

Usage

mROC_analysis(y, p, inference = 0, n_sim, fast = TRUE)

Arguments

y

y vector of observed responses.

p

p vector of predicted probabilities (the same length as observed responses)

inference

0 for no inference, 1 for p-value only, and 2 for p-value and 95 percent CI.

n_sim

number of simulations

fast

defaults to true

Value

returns a list containing the results of mROC analysis.


predtools documentation built on June 7, 2023, 5:58 p.m.