Generate flags if propensity scores should be applied to intermediate results or summarised results.

set_ps_flags(mode, propensity_scored)

Arguments

mode

One of the following aggregation modes: "doc-avg", "subj-avg", "micro".

propensity_scored

Logical, whether to use propensity scores as weights.

Value

A list containing logical flags "intermed" and "summarise".