check_marker_binout-internal {sMSROC}R Documentation

Checks of diagnosis scenarios

Description

Checks the consistency of the parameters entered for diagnosis scenarios.

Usage

check_marker_binout(marker, status, probs, sd.probs)

Arguments

marker

vector with the biomarker values. It is a mandatory parameter.

status

numeric response vector. Only two values will be taken into account. The highest one is assumed to stand for the subjects having the event under study. The lowest value, for those who do not. Any other value will not be considered. It is a mandatory parameter in diagnosis scenarios.

probs

vector containing the probabilities corresponding to the predictive model when it has been externally computed. Obviosly, only values between [0,1] are admissible.

sd.probs

vector with the standard deviations of the probabilities entered in probs. It is an optional parameter.

Value

The ouput is a list with the following components:

marker

vector containing the biomarker values.

outcome

vector with the condition of the subjects as positive or negative.

probs

vector with the probabilities corresponding to the predictive model.

sd.probs

vector containing the standard deviations of the predictive model if they have been manually entered.

controls

number of negative subjects.

cases

number of negative subjects.

misout

number of subjects whose outcome value is not known.

message

table containing the warning messages generated during the execution of the function.

See Also

check_marker_timerc and check_marker_timeic


[Package sMSROC version 0.1.2 Index]