tb_get_all: Overall results

View source: R/tb_inference.R

tb_get_allR Documentation

Overall results

Description

Overall results

Usage

tb_get_all(
  dat_tb,
  dat_surv,
  inx_bs = 0,
  fml_surv = "~BASE+AGE+SEX+STRATA1+P1TERTL",
  fml_tb = "~AGE+SEX+STRATA1+P1TERTL",
  imp_m = 5,
  fit_tb = TRUE,
  date_dbl = "2020-03-01",
  uti_gamma = c(Progression = 0.2, Death = 0.5),
  scenario = "scenario",
  mdl_surv = c("weibull", "msm"),
  keep_est_par = FALSE,
  ...,
  seed = NULL
)

Arguments

dat_tb

tumor burden dataset

dat_surv

survival dataset

fml_surv

formula for survival model

fml_tb

formula for tumor burden model

imp_m

number of imputations for each subject

fit_tb

whether fit tumor burden curve or only use the observed tumor burden

date_dbl

database lock date, i.e., analysis date

scenario

label of scenarios

mdl_surv

regression method for survival. msm: multi-state model; weibull: weibull regression for PFS

uti_gamm

utility gamma for progression and death

Value

tb_mat: tumor burden outcome for each patient


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