Learn R Programming

optimalThreshold (version 1.0)

estimates: Indicator estimates

Description

This function calculates the punctual estimates of several indicators.

Usage

estimates(object, ...)

# S4 method for trtSelOptThresh estimates(object, method = "median")

# S4 method for diagOptThresh estimates(object, method = "median")

Arguments

object

a trtSelOptThresh S4 class object from which the decision curve must be plotted.

...

other arguments to pass to estimates method.

method

which method to use: median, mean or mode (median is the default).

Value

Returns a list of several indicator estimates.

Returns the estimates of several indicators.

Details

This function calculates the punctual estimates of several indicators (median, mean, or mode) depending on the type of marker under study (treatment selection or diagnostic marker).