predictrcure: Prediction of robust cure model

Description Usage Arguments References

View source: R/predictrcure.R

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


rcure documentation built on May 29, 2017, 8:46 p.m.