下面给出的这段代码将读取一个二进制文件并简单地可视化地图,如下所示这是文件的链接
firsrow <- file("C:\\LaiAverage_2011_WGS84_50km.img", "rb")
row1 = readBin(firsrow, integer(), size = 2, n = 720*360, signed = F)
y <- matrix(data = row1, ncol = 360, nrow = 720)
image(t(t(y)), ylim=c(1,0)).
谁能帮我把它想象成这样: