shannon_entropy: Calculate Shannon entropy

View source: R/plot_entropy.R

shannon_entropyR Documentation

Calculate Shannon entropy

Description

Calculate Shannon entropy

Usage

shannon_entropy(cluster_assignments)

Arguments

cluster_assignments

A vector with cluster assignments

Value

The Shannon entropy of the assignment vector


csoneson/DuoClustering2018 documentation built on July 4, 2023, 2:23 p.m.