Re: [R] Lattice nb/wlist help

2011-04-27 Thread Gary Nobles
hi I am still tryingto do this, I have been working on this for a year but i have remained stuck... I have points at regular intervals but within an irregular window I need to make a nb weights matrix, then nb2wlist conceptually a D8 neighbourhood something like this: 000 000 0011100 00

[R] Lattice nb/wlist help

2011-02-02 Thread Gary Nobles
Hi all, I have a grid of points at regular intervals (taken from a raster). I want to create a listw matrix which opperates like this 1 1 1 1 1 1 1 1 1 and also like this 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 and so on I want it to work with loca

[R] contiguity matrix (queens case)

2010-11-01 Thread Gary Nobles
i have a grid of points at regular intervals (taken from a raster). I want to create a listw matrix based on a queens case senario, like this 1 1 1 1 1 1 1 1 1 and also like this 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 and so on I want it to work with localG fr

Re: [R] R shp(ESRI) point patterns and marks

2010-11-01 Thread Gary Nobles
All fixed: I scaned in the data from x.txt and y.txt then: P<-ppp(x,y,c(...),c(...), marks=m) -- View this message in context: http://r.789695.n4.nabble.com/R-shp-ESRI-point-patterns-and-marks-tp3017683p3022165.html Sent from the R help mailing list archive at Nabble.com. _

[R] R shp(ESRI) point patterns and marks

2010-10-28 Thread Gary Nobles
I have a point dataset (ESRI shp file) each point has an associated weight (grams) These are the weights of animal bones recovered from an archaeological excavation I am trying to import the shp file and then do a density plot of the weight data, so: #Import shp file library(spatstat) library(map

Re: [R] Installing sp and rgdal libraries

2010-09-30 Thread Gary Nobles
hi thankyou for the help, I upgraded Ubuntu and it disabled some repositories, all fixed now -- View this message in context: http://r.789695.n4.nabble.com/Installing-sp-and-rgdal-libraries-tp2720313p2720493.html Sent from the R help mailing list archive at Nabble.com. _

[R] Installing sp and rgdal libraries

2010-09-30 Thread Gary Nobles
Hi, I am still a bit of a beginner with R but I had it all working spgrass6, RMySQL, sp, etc... Then I wanted to install spatstat, this required updating R, all was going fine until I tried to connect to grass gis using spgrass6 library, it wouldn't let be install the package due to a dependency