Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

potential bug in response() #48

Open
fernandabiologia opened this issue Jul 30, 2024 · 0 comments
Open

potential bug in response() #48

fernandabiologia opened this issue Jul 30, 2024 · 0 comments

Comments

@fernandabiologia
Copy link

Hi,

I'm fitting maxent models using dismo and the response curves I get from the function response are very different from the ones I get from the maxent output. Some of the scales on the x axes for response plots become negative for some variables (see plots below).

I also tried to use some of the maxent arguments to get the plot data to manipulate in ggplot2, but the argument seems to be ignored.

model_all_data <- maxent(x = model_data[,2:19],
p = model_data[, 1],
path = "output/m1_TSImask1_all_data",
args=c("responsecurves", "writeplotdata=true", "extrapolate=false"))

Plot from maxent output:
image

Plot from function response():
image

Any help would be much appreciated.

Thanks you,

Fernanda.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant