Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

nricens.km.main

Estimate NRI by the standard Kaplan-Meier method.


Description

Internaly used function by nricens to provide the NRI estimator by the Kaplan-Meier(KM) method. In the comparison for time to event models, it is possible to use directly when UP and DOWN subjects are known.

Usage

nricens.km.main(time, event, upp, dwn, t0)

Arguments

time

Vector of follow up times.

event

Vector of event indicators, 1 for event of interest, 0 for censoring.

upp, dwn

Vectors of logical values to determine subjects who belong to UP and DOWN, respectively.

t0

Scalar value indicating a time to determine evnet/non-event.


nricens

NRI for Risk Prediction Models with Time to Event and Binary Response Data

v1.6
GPL-2
Authors
Eisuke Inoue
Initial release
2018-5-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.