optmatch icon indicating copy to clipboard operation
optmatch copied to clipboard

Demo how to use `matched.distances()` in vignettes

Open benthestatistician opened this issue 4 years ago • 1 comments

There should be a passage of a vignette explaining how to use matched.distances() to calculate the sum or mean of matched distances. One use of this is to determine matched distances along the distances used for matching; another is to determine matched distances along a different distance.

benthestatistician avatar Mar 02 '20 16:03 benthestatistician

Notes:

  • It calls for e.g. sum( unlist( matched.distances(mymatch, mydist) ) ), which has at least 2 nonintuitive aspects (the need to pass a distance; unlist()).
  • One natural place for this passage is in or after the "Distances" subsection of fullmatch-vignette.Rmd.

benthestatistician avatar Mar 02 '20 16:03 benthestatistician