C.index {ROCSI}R Documentation

C.index

Description

Empirical c-index estimate

Usage

C.index(yvar, score, censorvar, data)

Arguments

yvar

column name for observed time

score

column name for marker value

censorvar

column name for censor (1 is event, 0 is censored)

data

input data matrix

Details

Function for c-index when input is X and Y.

Value

a numeric value of empirical estimation of c-index

Examples

# no run

[Package ROCSI version 0.1.0 Index]