base_methods_cuminc: Functions for tidycuminc objects

base_methods_cumincR Documentation

Functions for tidycuminc objects

Description

Functions for tidycuminc objects

Usage

## S3 method for class 'tidycuminc'
model.frame(formula, ...)

## S3 method for class 'tidycuminc'
model.matrix(object, ...)

Arguments

formula

a formula

...

not used

object

a tidycuminc object

Value

a model frame, or model matrix

Examples

fit <- cuminc(Surv(ttdeath, death_cr) ~ trt, trial)

model.matrix(fit) %>% head()

model.frame(fit) %>% head()

tidycmprsk documentation built on Sept. 11, 2024, 7:24 p.m.