CalcInterventionMatchArray: CalcInterventionMatchArray

View source: R/medltmle_HelperFun.R

CalcInterventionMatchArrayR Documentation

CalcInterventionMatchArray

Description

Check if A as in data equals the regime.

Usage

CalcInterventionMatchArray(data, regimes, Anodes)

Arguments

data

TO DO

regimes

TO DO

Anodes

Index of A nodes. Can be easily derived from all.nodes$A.

Value

Returns a logical array, n x num.Anodes x num.regimes = follows regime[j] up to and including Anode[i]. NA will count as a match as well.


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