Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
xrobin committed Jul 28, 2024
1 parent 48bf60d commit cea42bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions man/plot.ci.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@ plot.roc(aSAH$outcome, aSAH$s100b,
ci=TRUE, of="thresholds")

# CI of a PR curve
co <- coords(roc1, x = "all", input="recall", ret=c("recall", "precision"))
ci <- ci.coords(roc1, x = seq(0, 1, .1), input="recall", ret="precision")
co <- coords(rocobj, x = "all", input="recall", ret=c("recall", "precision"))
ci <- ci.coords(rocobj, x = seq(0, 1, .1), input="recall", ret="precision")
plot(co, type="l", ylim = c(0, 1))
#plot(ci, type="shape")
plot(ci, type="shape")
plot(ci, type="bars")
lines(co)
}
Expand Down

0 comments on commit cea42bd

Please sign in to comment.