Names the direction of a change from a previous count to a current count
as "up", "down" or "flat". The rules are applied in this order:
both counts zero is
"flat";a previous count of zero with a current count above zero is
"up", so any detection where there was none is a rise;a change of
thresholdpercent or less of the previous count, either way, is"flat";otherwise the change is
"up"when the current count is the larger and"down"when it is not.
A missing count in either position gives NA. The comparison with the
threshold allows a tolerance of 1e-9, so a change of exactly threshold
percent is flat despite rounding.
