predict.TBFcox.sep: Prediction methods for CoxTBF objects with separate estimates

Description Usage Arguments Value

Description

Predicts survival probabilities at given times. Compatible with predictSurvProb functions required by pec package. Predicts objects with fitted with sep=TRUE

Usage

1
2
## S3 method for class 'TBFcox.sep'
predict(object, newdata, times, ...)

Arguments

object

a model fitted with coxTBF

newdata

a dataframe with the same variables as the original data used to fit the object

times

a vector of times to predict survival probability for

...

not used.

Value

A data frame of survival probabilities with rows for each row of newdata and columns for each time.



Search within the glmBfp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.