I am attempting to compute a regression line from two rasters in QGIS, using the R statistical package r.regression.line.
Raster 1 is a temperature dataset, which is as follows:
Raster 2 is an elevation raster (DEM), which is as follows:
I have run the r.regression.line package and obtained a slope value from the analysis of these two datasets, with an R value of 0.38. While this R value isn't terrible, it's also signaling that the correlation could be stronger for these datasets.
Spot analysis in QGIS comparing these two datasets shows that the slopes in different portions of the country vary between the one I received when running r.regression.line.
Is there a way to effectively split this into much smaller "chunks", rerun this package, and have the values produce a raster for each "chunk" with the slope the package computes attached?