CalculateProgEventTypes: This function calculates the event type for pfs data

Description Usage Arguments Value

Description

This function is called before creating the EventData object

Usage

1
CalculateProgEventTypes(has.event, prog.date, dth.date)

Arguments

has.event

A vector or whether subjects had event

prog.date

A vector of dates (or strings in the standard eventPrediction allowed formats) of progression.date or blank if unknown

dth.date

A vector of dates (or strings in the standard eventPrediction allowed formats) of death date or blank if unknown

Value

A vector with NA if subject does not have event, "Death" if dth.date <= prog.date or prog.date blank, "Progression (not death)" if prog.date < dth.date or dth.date blank "Progression (unknown if death)" if both prog.date and dth.date are blank


scientific-computing-solutions/eventPrediction documentation built on May 29, 2019, 3:44 p.m.