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:
uv
the joint entropyu
the conditional entropy of partitiona
v
the conditional entropy of partitionb
sort_pairs
the output from the sort_pairs function
See Also
[Package CommKern version 1.0.1 Index]