marginise {toporanga}R Documentation

Convert tally weights into margin weights

Description

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

Usage

marginise(tally)

Arguments

tally

a toporanga_tally object in which weights are going to be converted to margins.

Value

A modified toporanga_tally object.


[Package toporanga version 1.0.0 Index]