makeSparse: Helper function to mask edges

View source: R/tradeoff_functions.R

makeSparseR 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


MultiObjMatch documentation built on Sept. 11, 2024, 6:45 p.m.