llr.plot <- function(x, ...) {
x <- as.roc(x)
ptype <- ifelse(nrow(x) > 15, "l", "b")
with(x, plot(thres, opt.llr, xlab="score", ylab="LLR", main="Optimal score to LLR mapping",
type=ptype, ...))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.