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
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,
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
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
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
--
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