need help

76 views
Skip to first unread message

xu1573...@gmail.com

unread,
Apr 21, 2017, 9:32:26 AM4/21/17
to Maxent

Jamie M. Kass

unread,
Apr 23, 2017, 9:52:20 PM4/23/17
to Maxent
Do you mean the x-axes for the response curves are the same for all your variables? If they have different values then this is not expected. Can you give more detail about your problem and maybe include some images?

kaija...@yale.edu

unread,
May 1, 2018, 7:52:19 AM5/1/18
to Maxent
I know this post is from a long time ago, but I think I'm having the same issue. How can I modify the x-axes of the response plots to get more reasonable x limits for each variable? Currently, it's hard to interpret my response curves because a lot of nonsensical x values are included. For example, if one of my predictors is standard deviation of temperature in a given year, it doesn't make sense for that value to ever be negative, and yet the x-axis of the response curve for that variable includes values down to -10.

I have made histograms and checked that my actual data does not include erroneous values for the predictor variables (e.g. I'm sure that there aren't any actual negative standard deviation values in my prediction raster). But more generally I'd like to be able to pass an argument into the response() function to specify the x-limits for each of the plots, since in practice each one will need to have slightly different x-axis parameters depending on the variable in question.

Here's a picture of my response plots as they currently look. Any suggestions would be much appreciated. I've been trying to use par() and create the response plots variable-by-variable using a for-loop, but it isn't working. Is there any way to pass a list of x limit vectors to the response() function, for instance?

Thank you!

Jamie M. Kass

unread,
May 1, 2018, 9:20:28 AM5/1/18
to max...@googlegroups.com
You should be able to add “xlim” as an extra parameter to response() to modify the x-axis range. You are likely seeing those particular ranges of values because they are included in your background values. You can modify the default behavior of plotting the occurrence+background range by changing the “range” parameter to “p”.

Jamie Kass
PhD Candidate
City College of NY

--
You received this message because you are subscribed to a topic in the Google Groups "Maxent" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maxent/UVoZSue2zyo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.
--
-----------------------------------------------------------
Jamie M. Kass
PhD Candidate, Dept. of Biology
City College of New York, CUNY Graduate Center

kaija...@yale.edu

unread,
May 1, 2018, 12:57:48 PM5/1/18
to Maxent
Thanks for the quick response, Jamie. I'm wondering if there's a way to pass multiple different xlim values to the function. If I pass the xlim argument to the response() function, it works to change the axes, but all of the response curves (9 of them, since I have 9 predictor variables) end up having the same x axis limits. I need them to each have different limits. I'm wondering if there's any way to do this short of giving up the possibility of plotting all 9 graphs together and just doing them separately...

The other weird thing is that the values I'm seeing are not included in my background values. I've investigated all values on the landscape, including background and presence values, and nowhere are there any negative values for standard deviation. When I plot the prediction rasters, the colored scale bars on the sides of the maps indicate very reasonable scales, which are very different from the x limit scales that come up when I create response curves. I wonder why this is happening.

Husam El Alqamy

unread,
May 1, 2018, 1:10:20 PM5/1/18
to max...@googlegroups.com
you can check the box for (write plot data) in the settings. this will create text files of the values of these response values, you can read these into excel or any other package and manipulate your graphs the way you wish with more flexibility.


Inline image 1

Hossameldin ELALKAMY, MPhill., PhD.

GIS Analyst 

Conservation Data Center|  Victoria

Ministry of Environment & Climate Change

P. 250.614.7521 C. 778.896.3229|395 Waterfront Cres.  Victoria, BC., V8W 9M1

 | Profile




--
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+unsubscribe@googlegroups.com.

Jamie M. Kass

unread,
May 2, 2018, 6:49:28 PM5/2/18
to max...@googlegroups.com
If you want to stick with code, the parameter “i = 1”, where “1” would be the first variable, will give you a plot of just one response curve. You can then change each x-axis individually. As for the negative values you’re seeing that you say are not in the background — hard to explain that. Perhaps it requires more investigation.

Jamie

To unsubscribe from this group and stop receiving emails from it, send an email to maxent+un...@googlegroups.com.

To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to a topic in the Google Groups "Maxent" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/maxent/UVoZSue2zyo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to maxent+un...@googlegroups.com.
To post to this group, send email to max...@googlegroups.com.
Visit this group at https://groups.google.com/group/maxent.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages