Learn R Programming

FSinR (version 1.0.8)

entropy: Entropy

Description

Calculates the entropy value, using the information theory.

Usage

entropy(x)

Arguments

x
  • Collection of values

Value

  • Entropy value

Examples

Run this code
# NOT RUN {
entropy(iris$Sepal.Length)
# }

Run the code above in your browser using DataLab