- changed status to resolved
distToNearest return object might be better as a vector
Issue #1
resolved
It'd probably be a little cleaner (quicker, more memory efficient, more modular) to return a vector (just the distance column) from distToNearest instead of a copy of the entire data.frame.
Comments (1)
-
reporter - Log in to comment
Optional argument added to return distance as a vector. Found that returning the whole data.frame was very useful for ddply operations.