predictrcure: Prediction of robust cure model

Description Usage Arguments References

Description

Prediction of survival probability from rcure() in order to pass subjects to plotpredictrcure().

Usage

1
predictrcure(object, newX, newZ, model = c("ph", "aft"), ...)

Arguments

object

an object of rcure

newX

new value(s) of X

newZ

new value(s) of Z

model

specifies survival part in cure model, "ph" or "aft"

...

further arguments to be passed to the predictrcure function

References

Cai, C., Zou, Y., Peng, Y., & Zhang, J. (2012). smcure: An R-Package for estimating semiparametric mixture cure models. Computer methods and programs in biomedicine, 108(3), 1255-1260


echohan/rcure documentation built on May 15, 2019, 7:51 p.m.