get_fits: Return Nuisance Parameter Model Fits

Description Usage Arguments Value See Also Examples

View source: R/utils.R

Description

Return Nuisance Parameter Model Fits

Usage

1
get_fits(metadata)

Arguments

metadata

An object of class "Survival" generated by a call to metadata().

Value

A list containing the following components:

Hazard

The fit for the outcome model.

Censoring

The fit for the censoring model.

Treatment

The fit for the treatment model.

See Also

survrct for creating metadata.

Examples

1
2
3
surv <- survrct(Surv(days, event) ~ A + age + sex + dyspnea + bmi,
                A ~ 1, data = c19.tte)
get_fits(surv)

nt-williams/survrct documentation built on July 29, 2021, 7:46 a.m.