| KLd | R Documentation | 
Kullback-Lieber divergence function D(spec1 || spec2) = sum(spec1 * log(spec1 / spec2))
KLd(spec1, spec2)
| spec1 | spectral signal 1 | 
| spec2 | spectral signal 2 at identical wavelengths | 
the KL divergence between the vector inputs
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.