Learn R Programming

MultiObjMatch (version 1.0.0)

build.dist.struct_user: An internal helper function that generates the data abstraction for the edge weights of the main network structure using the distance matrix passed by the user.

Description

An internal helper function that generates the data abstraction for the edge weights of the main network structure using the distance matrix passed by the user.

Usage

build.dist.struct_user(z, distMat, verbose = FALSE)

Value

a distance structure used for constructing the main network flow problem

Arguments

z

a vector indicating whether each unit is in treatment or control group

distMat

a matrix of pair-wise distance

verbose

a boolean value whether to print(cat) debug information. Default: FALSE