nullmodel_test.R
This is a new, temporary file. It presents 4 null models that can be used to test significance of nestedness. Using the empirical data on length_diet functional groups in all sites, I show how each null model works (their algorithms, restrictions, power). Check out the object 'output', but make sure to run each line and follow all the comments. I've tried to do a step-by-step code so you can help me decide which null model make more biological sense.

analyses.R
I added the rarefaction analyses and the ongoing nestedness analyses (On the 16jul17 I stopped on null model analyses of FGxTransects). Please note the new headline and summary scheme to keep the code organized.

nested.R and rarefaction.R
Same nestedness and rarefaction analyses chunks added to analyses.R. I have changed my mind. It will be easier to keep everything in a single file. I thought I should send them in this first commit for you to take a look in my next steps of the nestedness analyses.

Cheers