Closed sandeepB055 closed 9 months ago
Hi @sandeepB055, thank you for reporting :pray: Can you share the plot you get ? Can you also share the output of:
show(bioclim_ZA_sub_stack)
show(P.karavaali_data)
show(P.karavaali_ensemble_models_proj_current)
Thanks in advance, Best, Rémi
i used plot("file path of .img file") to obtain the accurate plot for the projections. however when i use the plot function directly plot(P.karavaali_ensemble_models_proj_current) it still gives the inverse projection.
Hello @sandeepB055,
I'm taking over from Rémi from there. But I'll need a bit more details to understand what is the problem and what is going on. What plot do you get when trying the command ?
plot(P.karavaali_ensemble_models_proj_current)
What is the one you get when you plot directly from the file ?
Maya
this is the plot i got. this is wrong because the region where it shows "0" presence is actually where we found the species in abundance. while plotting using a file path of the disc image file, im getting the correct distribution map
final<- raster("D:/academics/PhD plans/SDM/P. karavaali/work_dir/Phrynoderma.karavaali/proj_ensemble_current/individual_projections/Phrynoderma.karavaali_EMwmeanByTSS_mergedData_mergedRun_mergedAlgo.img") plot(final)
given below is the wrong output of plot(P.karavaali_ensemble_models_proj_current)
I'm not sure I can be of much help here... The graphic you show coming from :
plot(P.karavaali_ensemble_models_proj_current)
show probability values, the output of your modeling.
If it does not match your observed data, maybe it is just that your model does not manage to mode your data ?
I'm sorry that I missed that, but in your code, you seem to load your EMwmean
ensemble model, while on your plot, you show the output of EMcv
model.
EMcv
represents the coefficient of variation of probabilities, and not probabilities. So it is normal that it does not match your observed data. You can check this https://github.com/biomodhub/biomod2/issues/345#issuecomment-1803875396 for more details.
Maya
i ran ensemble modeling for single species. used plot function from tidyterra in order to visualise the model on my area. the map showed an expected distribution of the sps but the legend of this map showed the exact opposite of expected outcome. it showed zero/absence where there should be presence and the other way around.