I'm trying to add a specific point to my ROC curve using:
g <- ggroc(c.roc, size = 0.8) +
labs(x="specificities", y = "sensitivities")
g + ggplot(tibble(sensitivities=3.9558923, specificities=0.8552395), aes(x=sensitivities, y=specificities)) +
geom_point(colour="blue")
but doesn't work:
Error: Don't know how to add ggplot(tibble(sensitivities = 3.9558923, specificities = 0.8552395), aes(x = sensitivities, y = specificities)) to a plot