Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread PUJAN RAJ REGMI
Dear sir, Actually I realize that 0.02 tolerance is the best that incorporate the variation in X coordinates differences. Then I used the points2grid with tolerance=0.02 it worked till this step but as soon as I use the code: gridded(A)<-TRUE then same error message appeared. so that means the

Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread Roger Bivand
On Fri, 2 May 2008, PUJAN RAJ REGMI wrote: Dear sir, My data has been acquired from ENVI 4.0 and it has the following information regarding pixel size and projection system: samples = 596lines = 440bands = 21 pixel size: 4.710294*4.70871 file type = ENVI Standard header offset = 0 map inf

Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread PUJAN RAJ REGMI
Dear sir, My data has been acquired from ENVI 4.0 and it has the following information regarding pixel size and projection system: samples = 596lines = 440bands = 21 pixel size: 4.710294*4.70871 file type = ENVI Standard header offset = 0 map info = {UTM, 1.000, 1.000, 564761.521, 5699816.36

Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread Roger Bivand
On Fri, 2 May 2008, PUJAN RAJ REGMI wrote: Dear list, Thanks to Mr. Roger, I have now able to plot my data using image and sp packages. Everything now seems ok for one type of data set where X and Y coordinates are regularly spaced with tolerance less than 0.02. Now I tried to plot with

Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread PUJAN RAJ REGMI
Dear list, Thanks to Mr. Roger, I have now able to plot my data using image and sp packages. Everything now seems ok for one type of data set where X and Y coordinates are regularly spaced with tolerance less than 0.02. Now I tried to plot with another data set then soon I realize that X c

Re: [R-sig-Geo] Scale Bar

2008-05-02 Thread Roger Bivand
On Thu, 1 May 2008, PUJAN RAJ REGMI wrote: Dear, I followed the instruction given by Roger. But i got the following error message; coordinates(A) <- c("x", "y")> gridded(A) <- TRUE> greenchannel<-matrix(A[,3],nrow=155,ncol=191,byrow=TRUE)Error in as.vector(x, mode) : cannot coerce to vecto

Re: [R-sig-Geo] Is there a lagsarglm?

2008-05-02 Thread Roger Bivand
On Fri, 2 May 2008, Bjarke Christensen wrote: Hi, I can't seem to find any implementation of spatial probit models in R. Perhaps my limited understanding of spatial statistics is preventing me from seeing what should be obvious, but it does not seem that the methods in geoRglm are of help in th