Nothing
methods::setMethod(f = "auc", methods::signature(object = "bincap"),
function(object) {
n0 <- sum(object@response == object@true)
n1 <- sum(object@response != object@true)
s0 <- sum(rank(object@predicted, ties.method = "average",
na.last = TRUE) * (object@response == object@true))
result <- (s0 - n0 * (n0 + 1) / 2) / (n0 * n1)
return(result)
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.