Closed lime-n closed 5 months ago
Hello friend, I also encountered the same problem, please tell me how you solved it
@qfviolin it has been a while since I have last done this.
I might not have solved it at all but I cannot remember. Although, I can take another stab at it if you send me the file you’re working with.
it may be an issue with the data columns that you’re using and the pixel resolution.
Thanks to my friend, I changed the resolution and have solved the problem.
I keep getting the following error when using the
contingencyTable
function on my raster.I'm using a MODIS MCD12q1 land-cover yearly dataset.
I thought it was a problem with pixelresolution, so I had it changed to 463.3127 and selected ontly the first two years:
Then I got:
Everything filled with NA's