Learn R Programming

casimir (version 0.3.3)

set_ps_flags: Set flags for propensity scores

Description

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

Usage

set_ps_flags(mode, propensity_scored)

Value

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

Arguments

mode

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

propensity_scored

Logical, whether to use propensity scores as weights.