(Internal) Returns a reasonable upper bound on the arcs remaining after placing a caliper.
caliperUpperBound(scores, z, width, structure = NULL)
numeric Total number of pairwise distances remaining after the caliper is placed.
A numeric vector of scores providing 1-D position of units
Treatment indicator vector
Width of caliper, must be positive.
Optional factor variable that groups the scores, as would
be used by exactMatch
. Including structure allows for wider
calipers.