CreateNodes: CreateNodes

View source: R/medltmle_HelperFun.R

CreateNodesR Documentation

CreateNodes

Description

Get all the nodes from input data.

Usage

CreateNodes(
  data,
  Anodes,
  Cnodes,
  Lnodes,
  Ynodes,
  Inodes = NULL,
  Znodes = NULL,
  Dnodes = NULL,
  W2nodes = NULL
)

Arguments

data

Available data in a wide format.

Anodes

Character variable with exposure nodes.

Cnodes

Character variable with censoring nodes.

Lnodes

Character variable with covariate nodes.

Ynodes

Character variable with outcome nodes.

Inodes

Character variable with instrumental nodes.

Znodes

Character variable with mediator nodes.

Dnodes

Character variable with death as censoring nodes.

W2nodes

Character variable with baseline nodes after treatment that need to be fluctuated during the TMLE procedure.

Value

Returns all nodes in a format necessary for further functions.


podTockom/medltmle documentation built on Aug. 9, 2022, 9:32 a.m.