Closed davefol closed 4 years ago
Hi Zhian, I think I handled everything in https://github.com/grunwaldlab/poppr/pull/223/commits/d862c3e3e7f9078f18cc4d5982c86290b5c77895
Let me know if I missed anything.
It looks good to me! The documentation needed to be re-roxygenized and NEWS updated, but I can take care of that. Thank you for the contribution!
Thanks for making it so easy. Would love to dig into the library more and contribute where needed.
Closes #220
bruvo.between()
exposes the same api asbruvo.dist()
except for the extra required argumentref
. It also returns the same object except forNaN
for distances that are not a comparison betweenquery
andref
.Internally it uses
bruvo_between()
which skips unneeded values and fills them with 100, later converted to NaN.