Description Usage Arguments Details Value Author(s) References Examples

View source: R/distance_measures.R

Compute the Hellinger Distance

1 | ```
hellinger_distance(p, q)
``` |

`p` |
An ordinal pattern distribution |

`q` |
A second ordinal pattern distribution to compare against p. |

This function returns a distance measure.

A vector of length 1.

Sebastian Sippel

none

1 2 3 | ```
p = ordinal_pattern_distribution(rnorm(10000), ndemb = 5)
q = ordinal_pattern_distribution(arima.sim(model=list(ar=0.9), n= 10000), ndemb = 5)
hellinger_distance(p=p, q = q)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.