I am doing landscape metrics in r software . There is a package for it landscapemetrics. But I m getting difficulty in exporting image to TIFF file .
I m using this code for exporting image
show _ lsm(h20_ data, labels = false,class= 0,what = lsm_ p_ area)
writeraster(h20_ data,filename= "H20 .tif", format= "Gtiff",overwrite = true)