Learn R Programming

MultiObjMatch (version 1.0.0)

distanceFunctionHelper: Helper function that change input distance matrix

Description

Helper function that change input distance matrix

Usage

distanceFunctionHelper(z, distMat)

Value

a distance matrix where (i,j) element is the distance between unit i and j in the same order as z

Arguments

z

the treatment vector

distMat

the user input distance matrix