spplot : varying dots for multiple parameters
servet ahmet ?izmeli wrote:
Dear all, I am new to R and sp. Thanks for your patience. I did several hours of research in various places. This list is my last resort. I am trying to plot on a spatial map the punctual measurements of the data located in the file (https://opengeo.metu.edu.tr/test.csv). I'd like to do that with the tools in the lattice package as I will add more parameters on the same graph later. When I call spplot using the code given below, I get the warning: Warning messages: 1: In if (!x$aspect.fill) panel.height[[1]] <- x$aspect.ratio * panel.width[[1]] : the condition has length > 1 and only the first element will be used 2: In if (layout.respect) { : the condition has length > 1 and only the first element will be used 3: In heights.x[pos.heights[["panel"]]] <- heights.settings[["panel"]] * : number of items to replace is not a multiple of replacement length Question 1 : I did several trials but could not eliminate this warning. Is this serious?
I don't see them, maybe update the sp package helps?
Question 2 : Only the dots of the parameter "SPM" varies with its magnitude. How to make the other parameters also have varying dot sizes?
I don't think spplot allows this; you'd have to use lattice' function xyplot, to which spplot (for points) is a rather thin wrapper.
Edzer Pebesma Institute for Geoinformatics (ifgi), University of M?nster Weseler Stra?e 253, 48151 M?nster, Germany. Phone: +49 251 8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de http://www.52north.org/geostatistics e.pebesma at wwu.de