get_cif: Calculate CIF for one cause

View source: R/add-functions.R

get_cifR Documentation

Calculate CIF for one cause

Description

Internal generic dispatching CIF calculation based on the model class.

Usage

get_cif(newdata, object, ...)

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

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.

Value

A data frame with CIF estimates appended.


pammtools documentation built on Aug. 27, 2026, 1:08 a.m.