Skip to contents

A declarative marker for share_weights()'s multiplicity argument. It states that links holds every link in the source population, not only the links of the sampled units, and so authorizes samplyr to count it.

Usage

complete_links()

Value

complete_links() is only meaningful inside share_weights(multiplicity = ) and otherwise throws an error.

Details

Named for the assertion rather than for the counting it triggers, because the assertion is what a reader has to check.

Examples

# Used inside share_weights():
# share_weights(sample, targets, links, by, to, within = hh,
#               multiplicity = complete_links())