jensen-shannon
computations to compute wrong values when 0 values
were present in the input vectors (see issue #4 ; Many thanks to @wkc1986)jensen-difference
computations to compute wrong values when 0 values
were present in the input vectorsJSD()
gives NaN when any probability is 0 - see https://github.com/HajkD/philentropy/issues/1 (Thanks to William Kurtis Chang)dist.diversity()
and distance()
when check for colSums(x) > 1.001
was peformed (leak was found with rhub::check_with_valgrind()
)Initial submission version.