Simple R package to compute the Jensen-Shannon divergence between two probability functions. Can also compute the Kullback-Leibler divergence on which JSD is based.
You can install the package with:
library(devtools)
devtools::install_github("tillbe/jsd")