click.Roc: Click on ROC curve

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Show marker value sensitivity and specificity at mouse point

Usage

1
2
click.Roc(object, pch = 19, label = TRUE, adj, col = "orange", cex = 3,
  ...)

Arguments

object

An object obtained with function Roc

pch

the symbol of the tag

label

If TRUE label the tag.

adj

passed to text to adjust of the legend relative to clickpoint.

col

the color of the tag

cex

the size of the tag

...

passed to identify

Details

A tag is set on the ROC curve at the mouse click and corresponding marker value, sensitivity and specificity shown below the click-point.

Value

the values at the tag

Author(s)

Thomas A. Gerds <tag@biostat.ku.dk>

See Also

identify Roc

Examples

1
2
3
4
5
6
7
8
## Not run: 
x <- abs(rnorm(20))
d <- data.frame(y=rbinom(1:20,1,p=x/max(x)))
r <- Roc(y~x,data=d)
plot(r)
click.Roc(r)
 
## End(Not run)

Example output


ModelGood documentation built on May 2, 2019, 3:02 a.m.