Learn R Programming

MultiObjMatch (version 1.0.0)

addBalance: Add fine balance edges

Description

Add fine balance edges

Usage

addBalance(net, treatedVals, controlVals, replaceExisting = TRUE)

Value

the network structure with balance edges added

Arguments

net

the network object created for the network flow problem

treatedVals

the balance value for treated nodes

controlVals

the balance value for control nodes

replaceExisting

(optional) whether or not to replace the existing net; TRUE by default