get.uppdwn {nricens}R Documentation

Determine UP and DOWN for the NRI calculation

Description

Internaly used function to detemine subjects who belong to UP and DOWN.

Usage

get.uppdwn(time, event, objs, flag.mdl, flag.prd, flag.rsk, t0, updown,
           cut, get.risk, msg = FALSE)

Arguments

time

Vector of follow up times.

event

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

objs

List of data.

flag.mdl, flag.prd, flag.rsk

Logical values to determine the type of calculation based on the input data.

t0

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

updown

Character to specify the method to determine UP and DOWN.

cut

Scalar or vector to specify the cutoff value(s) of predicted risks for determining UP and DOWN. See also cut in nricens or nribin.

get.risk

R function to calculate individual risks.

msg

Logical value to display computation process. Setting FALSE leads silent execution.


[Package nricens version 1.6 Index]