I have some data set which has latitude, longitude and Z values. I would like to plot them on global map. I am thinking to use image image(x, y, z, zlim, xlim, ylim, col = heat.colors(12), add = FALSE, xaxs = "i", yaxs = "i", xlab, ylab, breaks, oldstyle = FALSE, useRaster = FALSE, ...)
here I have x = longitude y= latitude z = z but z suppose to be matrix but my z values are single array , could somebody please tell me how to convert these single array of z to matrix ? -- View this message in context: http://r.789695.n4.nabble.com/Plotting-function-image-tp4387796p4387796.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.