Learn R Programming

mets (version 1.3.6)

predictRisk.binreg: Risk predictions to work with riskRegression package

Description

Risk predictions to work with riskRegression package

Usage

# S3 method for binreg
predictRisk(object, newdata, cause, times = NULL, ...)

Arguments

object

phreg/binreg/cifreg object

newdata

data.frame on which to make new predictions

cause

cause (cif) to predict

times

times for predictions

...

additional arguments to lower level functions