-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Hello,
First of all, thank you for doing the extra work of publicly documenting and maintaining this package. I was able to easily debug something that otherwise would have been more difficult (and appreciate the extra work regardless). I think this is the same request as the issue posted on 10/9/2015 by @laurenmh.
I would like to suggest clarifying or at least revisiting the error message returned by check_multispp. It currently returns "One or more replicates consists of only a single species; please remove these replicates prior to calculations". After debugging directly from check_multispp (rather than the synchrony function that originally threw the error), I found the issue was that one site in my replicate.var= argument column was only sampled one time. synchrony ran just fine once I removed that site.
I was initially really confused by the error message saying that one replicate had only one species. Phrasing it as # of species made me think I needed to group_by(year,site) %>% add_count(species) to see where there was only a single species, which did not solve my issue. I would like to suggest the error message be rephrased to something like "occurs only once" instead of "consists of only a single species".
In hindsight I can see the reasoning for mentioning species, and my suggestion might not be better - but overall I found the reference to species misleading, since it's not clear what exactly check_multispp is counting in the background. Thank you for reading and considering my suggestion.