check_marke_timeic-internal {sMSROC}R Documentation

Check of prognosis scenarios under interval censorship

Description

Checks the consistency of the parameters entered for prognosis scenarios under interval censorship.

Usage

check_marker_timeic(marker, left, right, time, probs, sd.probs)

Arguments

marker

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

left

vector containing the lower edges of the observed intervals. It is mandatory in prognosis scenarios and interval censorship and ignored in other situations.

right

vector with the upper edges of the observed intervals. It is mandatory as well in prognosis scenarios and interval censorship and ignored in other situations.

time

point of time at which the sMS ROC curve estimator will be computed. It is a mandatory parameter. The default value is 1.

probs

vector containing the probabilities corresponding to the predictive model when it has been externally computed. 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 function returns a list with the following components:

marker

vector containing the biomarker values.

left

vector containing the lower edges of the observed intervals.

right

vector containing the upper edges of the observed intervals.

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.

outcome

vector with the condition of the subjects at the time time, as positive, negative or unknown.

controls

number of negative subjects.

cases

number of positive subjects.

misout

number of subjects whose condition is unknown.

message

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

See Also

check_marker_binout and check_marker_timerc


[Package sMSROC version 0.1.2 Index]