dipetkov / eems

Estimating Effective Migration Surfaces
GNU General Public License v2.0
102 stars 28 forks source link

How to extract value based on coordinate #64

Open willright28 opened 2 years ago

willright28 commented 2 years ago

Hi all,

Does anyone know how to extract the value of the effective migration rate based on coordinates? Or to produce raster files from the plot function.

Thanks in advance!

otterhans commented 2 months ago

Hello, have you solved the problem? I have the same question: Is there any function to create a raster (.tif) map, not a .png, in order to work with GIS?

willright28 commented 2 months ago

Hi @otterhans ,

The eems.plots function will save xyz files (migrant and diversity rates) as an .Rdata in the direction you save the pdf/png, so just load the Rdata into R environment and you can use function like rasterFromXYZ to create a raster object.

Best