Shannon {MCPAN} | R Documentation |
Shannon index
Description
Calculates the Shannon-Wiener index.
Usage
Shannon(p)
Arguments
p |
A numeric vector of proportions. |
[Package MCPAN version 1.1-21 Index]
Shannon {MCPAN} | R Documentation |
Calculates the Shannon-Wiener index.
Shannon(p)
p |
A numeric vector of proportions. |