I had a nail. @rOpenSci had the hammer. Photo by Zorro.
The helpful folks over at rOpenSci have come up with exactly the tool I needed, exactly when I needed it.
Zipper picture from Wikimedia Commons, by Rabensteiner – Bearbeitet von Rainer Z
I found my self in a bit of a quandry. I had a data frame which contained many columns that needed to be squished together – each contained a few values, but mostly NAs, and none of the values were overlapping. They represented the same variable, but broken apart across several columns. I needed to condense several columns into one.
So finding minima is apparently a really complex problem. But all I need is a consistent, non-subjective way to determine cut-offs around a peak. This is what I came up with, perhaps useful to you?
Maps are quite useful things, if you want to convey information about where in the world something happens. But, turns out, they are harder to make than I naively thought! But not that hard.