survival_trans: Helper Functions for Survival Analysis

Description Usage Arguments

Description

Handles the W (covariates), S (location), T_tilde (time-to-event), Delta (censoring indicator), t_max (the maximum time to estimate) survival data structure

Usage

1
2
3
4
5
6
7
8
9
survival_o_npsem(node_list, variable_types = NULL)

survival_e_npsem(node_list, variable_types = NULL)

survival_task(data, node_list, make_npsem, variable_types = NULL, ...)

survival_o_likelihood(tmle_task, learner_list)

survival_e_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_task

learner_list

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


yulun-rayn/tmle3trans documentation built on Dec. 23, 2021, 8:20 p.m.