Arguments
fit
an object obtained from functions including anovaDDP
, spCopulaDDP
,
indeptCoxph
, spCopulaCoxph
, and frailtyGAFT
.
xpred
an npred by p vector of covariates matrix used for curve estimates.
ygrid
a vector of grid points (in log survival time scale) indicating where the curves will be estimated.
CI
a vector to indicate the level of credible interval, where first element indicate the lower probability.
xtfpred
an npred by q vector of covariates matrix if frailtyGAFT
is fitted.
IDpred
an npred by 1 vector indicates the cluster ID of each predicted subject if frailty model is fitted.
AFTbaseline
a logical value indicate if only baseline curves are needed. The default is FALSE.