zero_opposition: Zero the opposing tally weights

View source: R/tally.R

zero_oppositionR Documentation

Zero the opposing tally weights

Description

When we have w(A\rightarrow B)=a and w(B\rightarrow A)=b<a, this function will retain w(A\rightarrow B)=a and change w(B\rightarrow A) into 0.

Usage

zero_opposition(tally, quench = FALSE)

Arguments

tally

a toporanga_tally object in which opposing weights are going to be zeroed.

quench

whether to remove tied-up weights.

Value

A modified toporanga_tally object.


toporanga documentation built on Aug. 8, 2025, 6:15 p.m.