surv.rate: Calculate Survival Rate at a Fix Time Point

Description Usage Arguments Author(s) References See Also

View source: R/surv.rate.R

Description

This function is implemented in the npr.wpc.est function.

Usage

1
surv.rate(data, cutoff, wts, xwin)

Arguments

data

Data with event - the survival time, a positive numerical vector with no missing values; censor- censor information, a vector with 1 indicating an event and 0 indicating right censored

cutoff

This is to define the interesting data cutoff time point to see the relationship between time-to-events and markers.

wts

This is to specify the weight function, which will be applied to the Kaplan Meier approach for the survival rate estimates within each window. There are four options provided for this weight function: "uniform", "normal", "trunnormal", and "huber".

xwin

A series of marker values which will be assigned to the estimated survival rates within each window.

Author(s)

Hui Yang huiy@amgen.com, Rui Tang rui_tang@vrtx.com and Jing Huang jinghuang0@gmail.com

References

Yang H., Tang R., Hale M. and Huang J. (2016) A visualization method measuring the performance of biomarkers for guiding treatment decisions Pharmaceutical Statistics, 15(2), 1539-1612

See Also

npr.wpc.est


WPC documentation built on May 2, 2019, 6:52 a.m.