Learn R Programming

PerMallows (version 1.1)

expectation.gmm: Compute the expected distance, GMM under the Hamming distance

Description

Compute the expected distance in the GMM under the Hamming distance

Usage

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

Arguments

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

Value

  • expected distance decomposition vector

Examples

Run this code
expectation.gmm(c(0.38, 0.44, 0.1, 0.2, 1, 0.1))
expectation.gmm(c(2,2,2,2),'hamming')

Run the code above in your browser using DataLab