diagOptThresh-class {optimalThreshold} | R Documentation |
An S4 class to describe the optimal threshold of a diagnostic marker.
Description
An S4 class to describe the optimal threshold of a diagnostic marker.
Details
You never have to create this class manually. This class is created internally when the diagThresh
function is used.
Slots
optThresh
This slot is an object that takes in argument the sampled optimal threshold values. Numeric argument.
p
Prevalence specified by the user. Numeric argument.
r
Risk threshold preference. Numeric argument.
N
Sample size.
xEvt
This slot is an object that takes in argument the marker values in the subgroup of patients that developed the event. Numeric argument.
xNoEvt
This slot is an object that takes in argument the marker values in the subgroup of patients that did not develop the event. Numeric argument.
lowEvt
This slot is a logical argument that specifies whether the low values of the marker are associated with the presence of the disease or not.
mcmcChainEvt
This slot is an object that takes in argument the sampled distribution objects in the subgroup of patients that developed the event. list argument.
mcmcChainNoEvt
This slot is an object that takes in argument the sampled distribution objects in the subgroup of patients that did not develop the event. list argument.
tabMCMCChain
This slot is an object that takes in argument all the distribution parameters that were sampled using the MCMC algorithm. mcmc.listOrNull argument.
paraNamesUserDefined
This slot is an object that takes in argument the list of the distribution parameter names defined by the user in a 'fitUserDefinedDist' object. list argument.
cdfUserDefined
This slot is an object that takes in argument the list of cumulative distribution functions defined by the user in 'fitUserDefinedDist' objects. list argument.
gradientUserDefined
This slot is an object that takes in argument the list of gradient functions defined by the user in 'fitUserDefinedDist' objects. list argument.
hessianUserDefined
This slot is an object that takes in argument the list of hessian functions defined by the user in 'fitUserDefinedDist' objects. list argument.
percentNA
This slot is a numeric object that indicates the percentage of NA values contained in the 'optThresh' slot.
See Also
diagThresh
for more details on how to estimate the optimal threshold of a diagnostic marker.