Handles the W (covariates), A (treatment/intervention), T_tilde (time-to-event), Delta (censoring indicator), t_max (the maximum time to estimate) survival data structure

survival_tx_npsem(node_list, variable_types = NULL)

survival_tx_task(data, node_list, variable_types = NULL, ...)

survival_tx_likelihood(tmle_task, learner_list)

Arguments

node_list

a list of character vectors, listing the variables that comprise each node

variable_types

a list of variable types, one for each node. If missing, variable types will be guessed

data

a data.frame, or data.table containing data for use in estimation

...

extra arguments.

tmle_task

a tmle3_Task as constructed via survival_tx_task

learner_list

a list of sl3 learners, one for A and one for Y to be used for likelihood estimation