Skip to contents

A declarative marker for stack_frames()'s overlaps argument, naming the column that holds the weight a unit would have carried in each frame. It is the reciprocal statement of overlap_probabilities(), and the record normalizes either to probabilities, so the two forms are interchangeable once the scale is stated.

Usage

overlap_weights(...)

Arguments

...

One named argument per frame, giving the column name as a string: overlap_weights(area = "w_area", list = "w_list").

Value

An object of class samplyr_overlap_spec, carrying the declared scale and the column mapping, for stack_frames()'s overlaps argument.

Examples

overlap_weights(area = "w_area", list = "w_list")
#> ℹ Overlap weights, by frame: w_area and w_list