install.packages('optmatch')optmatch::scores()
is applied to a svyglm object.fullmatch.x and y can be
distances (InfinitySparseMatrix, BlockedInfinitySparseMatrix,
or DenseMatrix), or they can be optmatch objects.optmatch objects, the result of matching.optmatch object.match_on) Create
matching distancesoptmatch objects.