Hello, I am trying to read and plot a raster, it works fine but when I run the plot I have this error: Error in setValues(outras, m) :
could not find symbol "values" in environment of the generic function
My code:
wd<-setwd("C:/Users/X/X/X")
wd
CHM <- raster("Lchm.tif")
CHM
plot(CHM)