Forum: help


RE: Error in pseudo absences selection with 'sre' with R version [ Reply ] By: Dino Biancolini on 2022-10-26 09:11 | [forum:49466] |
Hello there, I have the same problem! |
RE: Error in pseudo absences selection with 'sre' with R version [ Reply ] By: Maya Guéguen on 2022-10-24 10:01 | [forum:49459] |
Hello Aurore, biomod2 is now hosted and maintained on github : https://github.com/biomodhub/biomod2 In order to facilitate our job, we try to centralise all issues and questions here : https://github.com/biomodhub/biomod2/issues Please, create a new issue so we can help you best, and it may potentially be of interest to other users. Thanks in advance, Maya |
Error in pseudo absences selection with 'sre' with R version [ Reply ] By: aurore receveur on 2022-10-21 09:28 | [forum:49458] |
Hi I am trying to select pseudo absences with the 'sre' strategy. My code completly works on R version 4.1.2, but does not work anymore on R version 4.2.1. The error (that was not there before) is : "Error in pa.data.tmp$xy[which((pa.data.tmp$sp != 1 | is.na(pa.data.tmp$sp)) & : subscript out of bounds In addition: Warning messages: 1: In pa.data.tmp$sp == 1 & as.data.frame(pa.data.tmp$pa.tab)[, pa] : longer object length is not a multiple of shorter object length 2: In (pa.data.tmp$sp != 1 | is.na(pa.data.tmp$sp)) & as.data.frame(pa.data.tmp$pa.tab)[, : longer object length is not a multiple of shorter object length" I manage to select random pseudo absences on the same dataset with the R version 4.2.1. It is the Biomod2 3.5.1 in both cases do you have any idea of why ? thank you for your help |