estimategrn_loop {drtmle}  R Documentation 
Helper function to clean up the internal code of drtmle
estimategrn_loop( validRows, Y, A, W, DeltaA, DeltaY, tolg, Qn, gn, glm_gr, SL_gr, a_0, reduction, returnModels, use_future )
validRows 
A 
Y 
A vector of continuous or binary outcomes. 
A 
A vector of binary treatment assignment (assumed to be equal to 0 or 1). 
W 
A 
DeltaA 
Indicator of missing treatment (assumed to be equal to 0 if missing 1 if observed). 
DeltaY 
Indicator of missing outcome (assumed to be equal to 0 if missing 1 if observed). 
tolg 
A numeric indicating the minimum value for estimates of the propensity score. 
Qn 
A list of outcome regression estimates evaluated on observed data. 
gn 
A list of propensity regression estimates evaluated on observed data. 
glm_gr 
A character describing a formula to be used in the call to

SL_gr 
A vector of characters or a list describing the Super Learner library to be used for the reduceddimension propensity score. 
a_0 
A list of fixed treatment values . 
reduction 
A character equal to 
returnModels 
A boolean indicating whether to return model fits for the outcome regression, propensity score, and reduceddimension regressions. 
use_future 
Should 