check_marker_timerc-internal {sMSROC}R Documentation

Check of prognosis scenarios under right censorship

Description

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

Usage

check_marker_timerc(marker, status, observed.time, time, 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 mandatory in prognosis scenarios and right censorship.

observed.time

vector with the observed times for each subject. These values can be the event times or the censoring times. It is mandatory when dealing with time-dependent outcomes under right censorship.

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.

status

response vector.

observed.time

vector containing the observed time. Recall event/censoring time.

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 given in time as positive, negative or unknown.

controls

number of negative subjects.

cases

number of positive subjects.

misout

number of unknown subjects.

message

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

See Also

check_marker_binout and check_marker_timeic


[Package sMSROC version 0.1.2 Index]