[R-sig-Geo] How to find GWR prediction variance as a measure of uncertainty?

2012-04-14 Thread Muhammad Imran
Hi list fellows, Do someone have any idea to calculate the standard deviation of GWR predictions (prediction variances), similary as we calculate with the sqrt of prediction variance provided by kriging? Would be thankful for any help? Best regards Imran

[R-sig-Geo] Export images from list of pixel images

2012-04-14 Thread Jose Funes
Dear all, I have a list of pixel images that I would like to export to in a raster format, i.e. GRID, tif, etc, to be able to visualize them in ArcGIS/QGIS but I am not sure how to convert them to SpatialGridDataFrame to be able to export them as tif using writeGGAL. For example: #

Re: [R-sig-Geo] Export images from list of pixel images

2012-04-14 Thread Michael Sumner
Here's one way: library(spatstat) data(lansing) rrisklan - relrisk(lansing)) names(rrisklan) [1] blackoak hickory maplemisc redoak whiteoak library(maptools) ## set up first grid, with first attribute blackoak g - as(rrisklan[[1]], SpatialGridDataFrame) names(g) - blackoak if