r - Vegan pkg - diversity for (cover) data per row -


i'm trying calculate simpson's diversity() index different species (column headings) need compare indices between 2 treatments. have treatments in rows , species in columns:

         treatment  plot pinus abies           <chr>    <int> <dbl> <dbl> 1        control     1  0.54  0.01 2        logging     2  0.02  0.09 

is there way this? examples i've found have species in columns (dune, bci). help.


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -