Learn R Programming

survivalsvm (version 0.0.6)

getLogrank: getLogrank

Description

computes the logrank statistic.

Usage

getLogrank(obj, t, delta)

Value

list of:

chi_sqchi-squared statistic and
chi_pchi-squared probality.

Arguments

obj

[survivalsvmprediction(1)]
Object of class survivalsvmprediction.

t

[numeric(1)]
Numeric vector (of survival times).

delta

[vector(1)]
Binary vector (of status).