| entropy {CommKern} | R Documentation |
Entropy
Description
Description of the entropy function.
Usage
entropy(a, b)
Arguments
a |
a vector of classifications; this must be a vector of characters, integers, numerics, or a factor, but not a list. |
b |
a vector of classifications |
Details
A function to compute the empirical entropy for two vectors of classifications and the joint entropy
Value
a list of four objects:
uvthe joint entropyuthe conditional entropy of partitionavthe conditional entropy of partitionbsort_pairsthe output from the sort_pairs function
See Also
[Package CommKern version 1.0.1 Index]