Learn R Programming

topicmodels (version 0.2-6)

distHellinger: Compute Hellinger distance

Description

The Hellinger distance between the rows of two data matrices are determined or if the second argument is missing between the rows of one data matrix.

Usage

# S3 method for default
distHellinger(x, y, ...)
# S3 method for simple_triplet_matrix
distHellinger(x, y, ...)

Arguments

x
A data matrix.
y
A data matrix.
Currently not used.

Value

A matrix containing the distances.