Skip to contents

A declarative marker for share_weights()'s within argument. It requests Lavallee section 5.3: a source unit linked to any member of a cluster is treated as linked to all of them, and target units are then treated as their own clusters.

Usage

extend_links(x)

Arguments

x

A single column of targets naming the cluster. The column is required: the extension is defined over the cluster, so it cannot be expressed without one.

Value

extend_links() is only meaningful inside share_weights(within = ) and otherwise throws an error.

Details

This is not a simplification of the clustered method. It produces a different weight, because the extended structure counts source units reaching a cluster where the clustered form counts links into it.

Examples

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