Skip to content
Prev 3401 / 7420 Next

Simper analysis with Morisita-Horn

Hai Vesna,


your code looks reasonable.

However it will fail, when you try running the permutations:

'Error: object 'gpa' not found'

This comes from your second inserted code block (should be 'ga' ect).

However in the current version it is not intended that the 'normal' user 
knows about the permutations. And one must modify the function (change 
the second line) in order to get the permutations running.

So you can skip your second code block when you don't want to run the 
permutations (and leave the function as is).

Also have a look at the development-version of vegan at github:
https://github.com/jarioksa/vegan/blob/master/R/simper.R
for a slightly changed version.


Hope this helps,

Eduard
On 12/03/2012 10:18 AM, Vesna Gagic wrote: