base_methods_crr: Functions for tidycrr objects

base_methods_crrR Documentation

Functions for tidycrr objects

Description

Functions for tidycrr objects

Usage

## S3 method for class 'tidycrr'
coef(object, ...)

## S3 method for class 'tidycrr'
vcov(object, ...)

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

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

## S3 method for class 'tidycrr'
terms(x, ...)

Arguments

...

not used

formula

a formula

x, object

a tidycrr object

Value

coef vector, model matrix, model frame, terms object

Examples

mod <- crr(Surv(ttdeath, death_cr) ~ age + grade, trial)

coef(mod)

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

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

terms(mod)

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