CreateLYNodes: CreateLYNodes

View source: R/medltmle_HelperFun.R

CreateLYNodesR Documentation

CreateLYNodes

Description

Get the LY nodes without "blocks" of L/Y nodes uninterrupted by A/C/Z nodes.

Usage

CreateLYNodes(data, nodes, check.Qform, Qform)

Arguments

data

Original wide-form data.

nodes

List object containing A,C,L,Y,D,W2,AC,ACD,ACZ,Z node index.

check.Qform

Logical variable indicating whether the corresponding Q forms need to be edited.

Qform

If check.Qform is set to TRUE, specify the Q forms.

Value

Returns LY nodes that contain A/C/Z nodes between them.


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