ptg: Computes the partial total gain of the predictiveness curve

Description Usage Arguments Value

View source: R/predcurver-ptg.R

Description

Computes the total gain over a restricted range of risk percentile. Setting vl = vh = .5 will give the unrestricted total gain.

Usage

1
  ptg(R, vl = 0.5, vh = 0.5, ...)

Arguments

R

An object of class "predcurve"

vl

The lower risk threshold

vh

The higher risk threshold

Value

output An estimate of the partial total gain


sachsmc/predcurver documentation built on May 29, 2019, 12:44 p.m.