Re: [R-sig-Geo] sp and latticeExtra: add colorbar for layer drawn 'under'

2015-08-29 Thread Tim Appelhans
Ben, as a follow up, it also works the other way round, which is more intuative: pols <- spplot(spdfbb, colorkey = FALSE, sp.layout = list(b = list('sp.polygons', qa, col = 'grey', first = FALSE))) rst <- spplot(R) combo <- rst + as.layer(pols) combo I am not su

Re: [R-sig-Geo] Impute missing value using k nearest neighbour

2015-08-29 Thread Metastate Metastate
Thank you very much, Frede. Meta On Mon, Aug 24, 2015 at 11:55 PM, Frede Aakmann Tøgersen wrote: > Hi > > > > One method is from DMwR package ( > https://cran.r-project.org/web/packages/DMwR/DMwR.pdf) : > > > > knnImputation > > > > Fill in NA values with the values of the nearest neighbours >

[R-sig-Geo] GWmodel package error

2015-08-29 Thread Metastate Metastate
Hi, I am applying the GWmodel R package on my GWR analysis of the impact of weather on the county-level crop yield. There are about 2342 counties in my analysis. But I got 2 errors for some variables as shown below. Would you please help me out? Really appreciate for your any kindly help or sugge

Re: [R-sig-Geo] How to use coKriging with LANDSAT ETM Imagery

2015-08-29 Thread Rajabhushanam. C
Hi, I am using a Landsat ETM Scene imagery for calculating the Linear Corregionalization Method in CoKriging. (gstat). Can you kindly debug my snippet (See enclosed). Really appreciate your help. Thanking in advance. > coKrige1 <- variogram(coKrige2)Error in model.frame.default(terms(formula