This will return a list of the number of finite entries in a distance
matrix. If the distance has no subgroups, it will be a list of length 1. If
the distance has subgroups (i.e. x
is an
BlockedInfinitySparseMatrix
, it will be a named list.)
num_eligible_matches(x)# S3 method for optmatch.dlist
num_eligible_matches(x)
# S3 method for matrix
num_eligible_matches(x)
# S3 method for InfinitySparseMatrix
num_eligible_matches(x)
# S3 method for BlockedInfinitySparseMatrix
num_eligible_matches(x)
Any distance object.
A list counting the number of eligible matches in the distance.