Description Usage Arguments Value References Examples

Compute the expected distance in the GMM under the Hamming distance

1 | ```
expectation.gmm(theta, dist.name = "kendall")
``` |

`theta` |
n dimensional real vector with the dispersion parameters |

`dist.name` |
optional name of the distance used in the GMM. One of: kendall (default), cayley, hamming |

The expected distance decomposition vector under the GMM

"Ekhine Irurozki, Borja Calvo, Jose A. Lozano (2016). PerMallows: An R Package for Mallows and Generalized Mallows Models. Journal of Statistical Software, 71(12), 1-30. doi:10.18637/jss.v071.i12"

1 2 3 | ```
expectation.gmm(c(0.38, 0.44, 0.1, 0.2, 1, 0.1))
expectation.gmm(c(2, 2, 2, 2),"cayley")
expectation.gmm(c(0.3, 0.1, 0.5, 0.1),"hamming")
``` |

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.