Using Maxent with a Bias File in SSDM Package (R)

65 views
Skip to first unread message

Melissa Petford

unread,
May 1, 2025, 8:16:45 PMMay 1
to Maxent

Hello everyone,

I am trying to create a stacked species distribution model in R using the SSDM package with the Maxent algorithm.

I would like to incorporate a bias file to account for sampling bias. To do this, I attempted to call a Maxent argument using the following line in my code:

maxent.args = list(arg1 = "biasfile=biasrast")

The code ran without errors, and I received my stacked model. However, it appears that the bias file was not applied when selecting background points. When I plotted the background points from one of the individual ensemble models, they were randomly distributed across the entire study area rather than being influenced by the bias layer.

Has anyone successfully integrated a bias file into the SSDM package? Alternatively, is there a way to directly specify a predefined set of background points?

I would really appreciate any advice on this, as I am a bit stuck on how to proceed.

Best regards,
Melissa

Bede-Fazekas Ákos

unread,
May 2, 2025, 1:36:11 AMMay 2
to max...@googlegroups.com
Dear Melissa,

I guess that the issue is not about the SSDM but about how you parameterize the MaxEnt model by maxent.args. According to ?stack_modelling, you should define the parameters in the following way:
maxent.args=list(arg1=val1,arg2=val2)
So I guess that this is the solution for this issue:
maxent.args=list(biasfile = "biasrast")

Please note that I never used SSDM, so my answer might be wrong.
Hope this helps,
Ákos
________________
Ákos Bede-Fazekas
Centre for Ecological Research, Hungary
--
You received this message because you are subscribed to the Google Groups "Maxent" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/maxent/17654213-5923-48fd-b8a8-1cd8aec74973n%40googlegroups.com.

Melissa Petford

unread,
May 9, 2025, 3:45:04 PMMay 9
to Maxent
Hi Ákos ,

Thank you very much for your response. Appreciate any help I can get. Unfortunately, the code still does not integrate the bias file. 

Kind regards,
Melissa

Reply all
Reply to author
Forward
0 new messages