Skip to content

geom_GeomRoc() has yet to be implemented in plotly. #1092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
pietervosnl opened this issue Aug 2, 2017 · 1 comment
Closed

geom_GeomRoc() has yet to be implemented in plotly. #1092

pietervosnl opened this issue Aug 2, 2017 · 1 comment

Comments

@pietervosnl
Copy link

I would like to be able to plot an ROC with the package https://github.com/sachsmc/plotROC/
This is working with Shiny:

library(plotROC)
set.seed(2529)
D.ex <- rbinom(200, size = 1, prob = .5)
M1 <- rnorm(200, mean = D.ex, sd = .65)
M2 <- rnorm(200, mean = D.ex, sd = 1.5)

test <- data.frame(D = D.ex, D.str = c("Healthy", "Ill")[D.ex + 1],
M1 = M1, M2 = M2, stringsAsFactors = FALSE)

basicplot <- ggplot(test, aes(d = D, m = M1)) + geom_roc()
basicplot

@cpsievert
Copy link
Collaborator

Thanks, added to #566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants