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

## Description

Predicts survival probabilities at given times. Compatible with predictSurvProb functions
required by `pec`

package. Predicts objects with fitted with `sep=TRUE`

## Usage

# S3 method for TBFcox.sep
predict(object, newdata, times, ...)

## Arguments

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

## Value

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