Skip to content

Commit

Permalink
Fix documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
xrobin committed Jul 28, 2024
1 parent 9d32e59 commit 8517c59
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion R/plot.ci.R
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ plot.ci.se <- function(x, type=c("bars", "shape"), length=.01*ifelse(attr(x, "ro
invisible(x)
}

plot.ci.coords <- function(x, type=c("bars", "shape"), input=NULL, length=NULL, col=ifelse(type=="bars", par("fg"), "gainsboro"), ...) {
plot.ci.coords <- function(x, type=c("bars", "shape"), length=NULL, col=ifelse(type=="bars", par("fg"), "gainsboro"), ...) {
type <- match.arg(type)
if (length(x) > 1) {
warning(sprintf("'ci.coords' object contains multiple coordinates, only %s will be plotted", names(x)[1]))
Expand Down
2 changes: 1 addition & 1 deletion man/ci.coords.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
\usage{
# ci.coords(...)
\S3method{ci.coords}{roc}(roc, x,
input=c("threshold", "specificity", "sensitivity"),
input="threshold",
ret=c("threshold", "specificity", "sensitivity"),
best.method=c("youden", "closest.topleft"), best.weights=c(1, 0.5),
best.policy = c("stop", "omit", "random"),
Expand Down
6 changes: 3 additions & 3 deletions man/plot.ci.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
\alias{plot.ci.thresholds}
\alias{plot.ci.se}
\alias{plot.ci.sp}
\alias{plot.ci.coords}

\title{
Plot confidence intervals
Expand All @@ -21,9 +22,8 @@
\S3method{plot}{ci.se}(x, type=c("bars", "shape"), length=.01*ifelse(attr(x,
"roc")$percent, 100, 1), col=ifelse(type=="bars", par("fg"),
"gainsboro"), no.roc=FALSE, ...)
\S3method{plot}{ci.coords}(x, type=c("bars", "shape"), length=.01*ifelse(attr(x,
"roc")$percent, 100, 1), col=ifelse(type=="bars", par("fg"),
"gainsboro"), no.roc=FALSE, ...)
\S3method{plot}{ci.coords}(x, type=c("bars", "shape"), length=NULL,
col=ifelse(type=="bars", par("fg"), "gainsboro"), ...)
}

\arguments{
Expand Down

0 comments on commit 8517c59

Please sign in to comment.