Learn R Programming

mets (version 1.2.3.1)

predict.phreg: Predictions from proportional hazards model

Description

Predictions from proportional hazards model

Usage

# S3 method for phreg
predict(object, data, surv = FALSE, time = object$exit,
  X = object$X, strata = object$strata, ...)

Arguments

object

phreg object

data

data.frame

surv

If TRUE predictions are provided on probability scale

time

Time variable

X

Design matrix

strata

Strata variable

...

ADditional arguments to lower level functions