ConsBiol-unibern / SDMtune

Performs Variables selection and model tuning for Species Distribution Models (SDMs). It provides also several utilities to display results.
https://consbiol-unibern.github.io/SDMtune/
Other
25 stars 8 forks source link

Customizing response curves #28

Closed yucheols closed 1 year ago

yucheols commented 1 year ago

Describe the new feature

Hello! I've been using SDMtune for some time now and I really enjoy using it. This is a great tool to run SDMs. So first of all, thank you for this great package!

This is more of a question than a feature request (sorry for putting it here, but this seemed more appropriate than the bug report). I'm working on SDMs of two amphibian species and was thinking about plotting the responses of the two species within a single plotting pane (for each variable). But since the "plotResponse" function returns one plot for one species and one variabe at a time I was wondering if there's a way to "pull out" data for response curves so that the response plots can be customized (e.g. in ggplot)?

Thank you in advance for the help! Cheers, Yucheol

Does the feature request already exist?

sgvignali commented 1 year ago

Have a look at the examples provided in the plotResponse() function: https://consbiol-unibern.github.io/SDMtune/reference/plotResponse.html. There is explained how to extract the data form the output of the function. Is this what you need?

sgvignali commented 1 year ago

I think I can close this issue @yucheols, right?