Re: [R-sig-Geo] Google maps/ Blue Marble in R

2013-09-06 Thread Oscar Perpiñán Lamigueiro
Hello, I am not sure if it fits your problem, but perhaps this example I posted some months ago is useful for you: http://procomun.wordpress.com/2013/04/24/stamen-maps-with-spplot/. It combines a Stamen map (retrieved with the ggmap or OpenStreetMap packages) with an SpatialPointsDataFrame

Re: [R-sig-Geo] how to use levelplot() with a geographic projection

2013-09-06 Thread Oscar Perpiñán Lamigueiro
Hi, I think your problem is related with the way you define the RasterLayer. You should use cellFromXY instead. Try the example below. Best, Oscar. ## vectors of latitude and longitude with non-NA values longitude - sample(seq(-130, -65, .1), 2000, replace=TRUE) latitude - sample(seq(25,

[R-sig-Geo] Intamap and honoring original data

2013-09-06 Thread r_sig_...@libero.it
Hi to all. My problem is to force a Kriging prediction to honour original data. This is because I need to interpolate values that represent the Bayesian probability that a particular event occurs. For Instance, If for a locality I computed a probability = 1, or p=0.6, I need to possibly keep

[R-sig-Geo] DCluster questions

2013-09-06 Thread James Rooney
Hi all, I'm wondering if I can get a little advice on using DCluster. I have produced a map of areal incidence rates and I'd like to try and detect clusters. I have also implemented Bayesian smoothing and have therefore pre and post smoothing maps. I have some code as follow for detecting

Re: [R-sig-Geo] how to use levelplot() with a geographic projection

2013-09-06 Thread Waichler, Scott R
For the archive, here is a complete example of using rasterVis to do the following: -- use levelplot() to draw multiple panels with maps being geographically correct -- create raster objects and supply values for some of the cells, selected from a matrix of longitude, latitude coordinates --

Re: [R-sig-Geo] DCluster questions

2013-09-06 Thread Virgilio Gomez Rubio
Dear James, I'm wondering if I can get a little advice on using DCluster. I have produced a map of areal incidence rates and I'd like to try and detect clusters. I have also implemented Bayesian smoothing and have therefore pre and post smoothing maps. This seems to work ok however there