I have a bunch of raster files in different formats: - NETCDF 4 - HDF 5 - GeoTIFF
Using rgal package I'm able to open any of them and use them as objects in R! Creating stacks of them allows me to calculate correlation coefficient.
But what if I would like to mąkę some calculations on one pixel only (for example to create scatterplot)?
Am I able to extract value for particular coordinates? Obviously I can use gdal2xyz tool, but I would like to do that entirely in R!