annotate.DET | R Documentation |
See the annotation function in ggplot2 for the meaning of the parameters.
annotate.DET(
stat = "identity",
data = NULL,
mapping = aes(fmr, fnmr, label = label),
position = "identity",
...,
inherit.aes = TRUE,
show.legend = FALSE,
bgfill = "white",
bgalpha = 1,
label.padding = unit(0.25, "lines"),
na.rm = FALSE,
parse = FALSE
)
gen.scores <- runif(1e5, 0, 10)
imp.scores <- rnorm(1e5)
DET <- make.DET(gen.scores, imp.scores)
DET[, curve := "Curve Name"]
plot.DET(DET, xlim=c(1e-4, 0.2), col="darkred", legend.position='none') +
annotate.DET()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.