distHellinger: Compute Hellinger distance

View source: R/utils.R

distHellingerR Documentation

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

## Default S3 method:
distHellinger(x, y, ...)
## S3 method for class 'simple_triplet_matrix'
distHellinger(x, y, ...)

Arguments

x

A data matrix.

y

A data matrix.

...

Currently not used.

Value

A matrix containing the distances.

Author(s)

Bettina Gruen


topicmodels documentation built on Sept. 11, 2024, 8:43 p.m.