Ycutoff: Cutoff with best Youden index

Description Usage Arguments Value Author(s) Examples

Description

Cutoff with best Youden index

Usage

1
Ycutoff(y.hat, y)

Arguments

y.hat

numeric. risk between 0 and 1

y

status yes=1, no=0 or dead=1, alive=0

Value

value of y.hat with best Youden index

Author(s)

Andi Boeck

Examples

1
2
3
y.hat <- seq(0,1,length=100)
 y <- rbinom(100, size=1, prob=1-y.hat)
 Ycutoff(y.hat = y.hat, y = y)

Atools documentation built on May 2, 2019, 6:30 p.m.

Related to Ycutoff in Atools...