Main eROC analysis that plots ROC and eROC

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.