[R-sig-Geo] Bayesian Block Kriging?

2010-02-18 Thread csoykan
Hello, I'm interested in doing Bayesian kriging using R. I see that the package geoR has a function that will allow one to do this (krige.bayes). However, my data are not in the form of points, but rather they are blocks that represent spatial averages (i.e., the number of fishing hooks pe

Re: [R-sig-Geo] Prevent minor discrepancy in pixel resolution using Spatstat

2010-02-18 Thread Tyler Dean Rudolph
Like many things (but not all!), this makes a great deal of sense. My solution, therefore is to first ensure my x and y ranges are divisible by 25 xran<-c(-100, 100) + sort(c(as.numeric(x[4]), as.numeric(x[6]))) xran[2]<-xran[2] + ((ceiling((xran[2]-xran[1])/25)-((xran[2]-xran[1])/25))*25) yran

[R-sig-Geo] suggestion to imrpove: Generating Random Transects of Same Length (by marcelino de la cruz)

2010-02-18 Thread gianni lavaredo
Dear Researchers, I wish to improve the code of "Generating Random Transects of Same Length", by Marcellino De la Cruz to do a forest invetory analysis I am trying to use with "Stratified Random Point" inside a grid. the problem is: sometimes the transect line enter inside another square (if You

Re: [R-sig-Geo] Neighborhood weights spam matrix

2010-02-18 Thread nikhil kaza
Many thanks! I forgot about the row standardisation. I will subset the nb class and then create the weights matrix. Nikhil On Thu, Feb 18, 2010 at 8:36 AM, Roger Bivand wrote: > On Thu, 18 Feb 2010, Nikhil Kaza wrote: > > Hello, >> >> I am not sure if this is the right forum to ask as this is

Re: [R-sig-Geo] Neighborhood weights spam matrix

2010-02-18 Thread Roger Bivand
On Thu, 18 Feb 2010, Nikhil Kaza wrote: Hello, I am not sure if this is the right forum to ask as this is mostly a sparse matrix question, nevertheless here it is. I am using R - 2.10.1 and spdep 0.4-54 on Windows Vista I have a large shapefile for which I need to create a neighborhood matr

[R-sig-Geo] Neighborhood weights spam matrix

2010-02-18 Thread Nikhil Kaza
Hello, I am not sure if this is the right forum to ask as this is mostly a sparse matrix question, nevertheless here it is. I am using R - 2.10.1 and spdep 0.4-54 on Windows Vista I have a large shapefile for which I need to create a neighborhood matrix file, I used the following command t