makeSparse {MultiObjMatch} | R Documentation |
Helper function to mask edges
Description
Remove some of the treatment-control edges from a network flow representation of a match (forbidding those pairings)
Usage
makeSparse(net, mask, replaceMask = TRUE)
Arguments
net |
the network object |
mask |
a matrix indicating whether to exclude the corresponding edge |
replaceMask |
(optional) whether to mask |
Value
the masked network structure object
[Package MultiObjMatch version 1.0.0 Index]