markmfredrickson/optmatch — Issue #7: caliper.numeric idea
Author: markmfredrickson
Created: 2011-11-19 21:39:08+00:00
State: open
Labels: feature

Right now there is no `numeric` implementation for a caliper. One possible implementation would be to use `caliper(n)` as a special case for this common pattern:

md <- mdist(....)
fullmatch(md + caliper(3, md))

Which would be replaced as:

md <- mdist(....)
fullmatch(md + caliper(3))

The special object would be a placeholder for a real `InfinitySparseMatrix` that would wait until addition to find out its true dimensions as well as its form.

This is probably going to be a low priority item as the original style (`md + caliper(3, md)`) works fine, but the short hand would be cute.