Learn R Programming

pammtools (version 0.8.1)

get_cif: Calculate CIF for one cause

Description

Internal generic dispatching CIF calculation based on the model class.

Usage

get_cif(newdata, object, ...)

# S3 method for default get_cif( newdata, object, ci, time_var, interval_length = "intlen", alpha, nsim, cause_var, ... )

Value

A data frame with CIF estimates appended.

Arguments

newdata

A data frame of new observations, typically created via make_newdata().

object

A fitted model object. The method is dispatched on this argument.

...

Additional arguments passed to the respective method.