tb_prepare_tb_dta: Combine survival and tumor burden data

View source: R/tb_tb_tools.R

tb_prepare_tb_dtaR Documentation

Combine survival and tumor burden data

Description

Prepare data set for longitudinal tumor burden regression

Usage

tb_prepare_tb_dta(
  dat_tb,
  imp_surv,
  imp_inx = 1,
  uti_gamma = c(Progression = 0.2, Death = 0.5),
  tb_reg_pow_conv = 1,
  tb_reg_add_surv = FALSE,
  scale_time_by_surv = TRUE,
  ...
)

Arguments

scale_time_by_surv

whether conditioning on survival time and scale DAYS to [0,1]

add_surv

Whether include uti_gamma at the event time as a tumor burden measurement

f_conv

Function for converting tumor burden


olssol/tburden documentation built on April 27, 2023, 12:14 p.m.