Diversity index

From Testiwiki
Revision as of 23:10, 4 January 2012 by Jouni (talk | contribs) (example code works)
Jump to: navigation, search



Question

How to calculate diversity indices?

Answer

Upload your data to Opasnet Base. Use the function diversity to calculate the most common indices.

Actual function diversity

+ Show code

# : With the example data, H' shows 0 which is not plausible. What's wrong? --Jouni 01:10, 5 January 2012 (EET)

Example to use function

Give your data in R format c(4,2,4,6,1,2,3,8,9) or leave empty for example data:

Is your data individual data or group abundancies?:

+ Show code

Rationale

Diversity indices are thoroughly described in Wikipedia.

See also

References


Related files

<mfanonymousfilelist></mfanonymousfilelist>