[R-sig-Geo] sum of point values within a grid square

2008-04-03 Thread Andrew James Hoskins
Hi all, I'm trying to get the sum of value z for all points that fall within a grid square. I've been trying to use the overlay function on a grid converted to polygons, however, it returns the sum of the coordinates and the z values, how can I have it return only the sum of z? Also, once I have

Re: [R-sig-Geo] question about regression kriging

2008-04-03 Thread Tomislav Hengl
I completely agree with Thierry. Take a look at this also: https://stat.ethz.ch/pipermail/r-sig-geo/2008-February/003176.html The instructions on how to run RK with binary variables in R you can find in sec 4.3.3 (Fig. 4.15) of my lecture notes. Hengl, T., 2007. A Practical Guide to

[R-sig-Geo] .shp

2008-04-03 Thread Renata Grigorio
I'm trying to do an application thatread a file.shp in a server by Rserve, but I didn´t. Can you give me asugestion to do this? Thank you para armazenamento! [[alternative HTML version deleted]] ___ R-sig-Geo mailing list

Re: [R-sig-Geo] Colouring hatch lines

2008-04-03 Thread Roger Bivand
On Thu, 3 Apr 2008, Mulholland, Tom wrote: I might be having finger problems, but I have been unable to get R to overlay coloured hatching on one of my plots. This code replicates my problem which I would have thought would have given me vertical yellow lines. require(maptools)

Re: [R-sig-Geo] sum of point values within a grid square

2008-04-03 Thread Roger Bivand
On Thu, 3 Apr 2008, Andrew James Hoskins wrote: Hi all, I'm trying to get the sum of value z for all points that fall within a grid square. I've been trying to use the overlay function on a grid converted to polygons, however, it returns the sum of the coordinates and the z values, how can

Re: [R-sig-Geo] .shp

2008-04-03 Thread Roger Bivand
On Thu, 3 Apr 2008, Renata Grigorio wrote: I'm trying to do an application thatread a file.shp in a server by Rserve, but I didn´t. Can you give me asugestion to do this? The answer is no. The R lists have a posting guide, which says that if you do not give a simple, working example of your