entropy | R Documentation |
This measurement of entropy estimates the dispersion of a vector - describing the relative concentration of a vector's frequency into a number of age-classes
entropy(frequency)
frequency |
Frequency vector (can be raw counts/goodness of fit values) |
Entropy/Concentration measure
entropy(c(1,0,0,0,0)) entropy(c(0.5, 0.5, 0.5, 0.5, 0.5)) entropy(c(0.95, 0.75, 0.55, 0.35, 0.15)) entropy(c(0.15, 0.35, 0.55, 0.75, 0.95))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.