Closed woaichixuegao closed 4 months ago
Hi,
It seems you only have 4 cells available for Pseudo-absences data.
If you have some NA in myResp
, biomod2 will select the pseudo absences into these NA points.
If you want biomod2 to select the PA into the other cells of the spat raster, you need to remove the NA from myResp
.
Could you share the output of :
summary(myResp)
show(myExpl)
Thanks, Hélène
thank you,I have solved it!Have a good day!
---- Replied Message ---- | From | @.> | | Date | 03/25/2024 20:29 | | To | biomodhub/biomod2 @.> | | Cc | woaichixuegao @.>, Author @.> | | Subject | Re: [biomodhub/biomod2] Question about BIOMOD_FormatingData() (Issue #439) |
Hi,
It seems you only have 4 cells available for Pseudo-absences data. If you have some NA in myResp, biomod2 will select the pseudo absences into these NA points. If you want biomod2 to select the PA into the other cells of the spat raster, you need to remove the NA from myResp.
Could you share the output of :
summary(myResp) show(myExpl)
Thanks, Hélène
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
! No data has been set aside for modeling evaluation ! No data has been set aside for modeling evaluation !!! Some data are located in the same raster cell. Please set
filter.raster = TRUE
if you want an automatic filtering.Checking Pseudo-absence selection arguments...
! Some NAs have been automatically removed from your data ! No data has been set aside for modeling evaluationError in .local(sp, env, ...) : No absences were given and no pseudo-absences were given or configured, at least one of those option is required.