Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about proc-r-package

Read more about proc-r-package

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - proc-r-package

How to combine several roc curves in one graph in R?

I draw 4 roc curves for 4 models, and want to put them together in one graph so that I can compare. library(pROC) lr.probs <- predict(lr_model, newdata=test1, type='response') lr.plot <- plot...
test-img

SquirtleBig

r

plot

roc

proc-r-package

Votes: 0

Answers: 1

Latest Answer

You can either use the plot function with the add=TRUE argument: lr.plot <- plot(roc(test1$Y,lr.probs)) gbm.plot <-plot(roc(test1$Y,gbm.probs\[,2\]), add=TRUE, col="red") rf.plot &...
test-img

Calimo

Why is the roc function not determining cases and controls properly?

Under the default direction = "auto" setting of the roc function, it appears that cases and controls should be automatically configured such that the ROC curve for a predictor is above the d...
test-img

lindre3000

r

roc

proc-r-package

Votes: 0

Answers: 1

Latest Answer

Under the default direction = "auto" setting of the roc function, it appears that cases and controls should be automatically configured such that the ROC curve for a predictor is above the ...
test-img

Calimo

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved