Skip to main content
4 events
when toggle format what by license comment
Oct 9 at 17:07 history edited Jeffrey Evans CC BY-SA 4.0
Updated answer to account for terra library
Jun 29, 2021 at 11:23 comment added Buffy Smith Forgive me as I am very new to R but I am confused as to how I fit my real data into the fake data frames here. As I understand it you have created a raster to the same extent as mine, but with 1/2 the resolution and then turned this into a matrix with 500 rows? You've then created a fake df with 500 rows and 2 variables (AREA and iji) then linked columns 1 and 3 (PID and iji) to the raster? So iji is now a raster with iji variables linked to the 500 cells that can be mapped. If i've understood this correctly how do I then add my real data?
Jun 23, 2021 at 20:27 history edited Jeffrey Evans CC BY-SA 4.0
added 380 characters in body
Jun 23, 2021 at 20:21 history answered Jeffrey Evans CC BY-SA 4.0