SpadeR provides simple R functions to compute various biodiversity indices and related (dis)similarity measures based on individual-based (abundance) data or sampling-unit-based (incidence) data taken from one or multiple communities/assemblages.
27
stars
10
forks
source link
Error 'invalid 'type' (list) of argument' in SimilarityPair #15
The sample assemblages here have more than 3 species but not much overlap (2 species) - is this the problem? I assume it should not be a problem?
I would be very glad for your help!
With best regards,
Fabian
EDIT: After some trial and error, I found out that the problem depends on the value set for 'nboot'. The chance of SimilarityPair computing to an outcome seems to be much higher at lower nboot values than at higher ones. This results at common failures at nboot = 200 for at least one of the pairs (while the fails are rare at nboot = 10).
When using SimilarityPair, I am receiving an error for some of my comparissons but not for all of them. I provide a reproducible example here:
sample.csv (sample data is attached)
The sample assemblages here have more than 3 species but not much overlap (2 species) - is this the problem? I assume it should not be a problem?
I would be very glad for your help!
With best regards,
Fabian
EDIT: After some trial and error, I found out that the problem depends on the value set for 'nboot'. The chance of SimilarityPair computing to an outcome seems to be much higher at lower nboot values than at higher ones. This results at common failures at nboot = 200 for at least one of the pairs (while the fails are rare at nboot = 10).