Description Usage Arguments Details Value
Compute the p-metric between two probability distributions.
## S4 method for signature 'Distribution,Distribution' pMetric(p1, p2, p)
An atomic numeric greater than or equal to 1 that determines the power of the norm.
p2 denote the vectors of probability mass assigned
by two distributions defined on the same state space. Then, the p-metric
p2 is given by
(sum(abs(p1 - p2)^p))^(1/p).
The p-metric between distributions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.