integrand_q_g.Rd
Integrand function for q and g models
integrand_q_g(
sample_a,
row_data,
covars,
w_names,
q_model,
g_model,
exposure,
g_delta,
m_delta,
upper_bound,
density_type
)
vector of sampled exposure values
dataframe containing the current row data
vector of covariate names for outcome regression
Names of covariates
sl3 learner object for the q model
sl3 learner object for the g model
character string indicating the exposure variable name
numeric value for the g model delta
numeric value for the m model delta
numeric value specifying the upper bound for exposure values
character string specifying the density type ("sl" or other)
output numeric vector of integrand values