trias-project / indicators

📈 Alien species indicators
https://trias-project.github.io/indicators/
MIT License
0 stars 1 forks source link

incorrect calculation of ncells ? #87

Closed SanderDevisscher closed 4 years ago

SanderDevisscher commented 4 years ago

https://github.com/trias-project/indicators/blob/0d0b9b5a5a9cf8f6bcd4b27469a0863f57b7190d/src/06_occurrence_indicators_appearing_taxa.Rmd#L103

shouldn't this be ncells = sum(pa_obs) ?

damianooldoni commented 4 years ago

Yes, you are right. Thanks to find this bug! I will correct it asap. Actually I found this bug also in 7th pipeline where GAM is applied! https://github.com/trias-project/indicators/blob/master/src/07_occurrence_indicators_modelling.Rmd#L87