Re: [R-sig-Geo] SPATSTAT: converting owin(mask) to owin (polygon) PART II

2009-06-30 Thread Adrian.Baddeley
Sorry, that should have been 'box=FALSE', not 'axes=FALSE'. Apart from this problem, which I emphasise is a bug in the PLOTTING code for tessellations in spatstat 1.15-4, the tessellation has been computed correctly, and you can do all the analysis described below, using pixel-based tessellatio

[R-sig-Geo] Res: spplot point coordinates

2009-06-30 Thread Gledson Picharski
you can see everithing in the package using: >ls("package:sp") or > library(help="sp") where you can find the function spplot.locator Gledson Luiz Picharski LEG (Laboratório de Estatística e GeoInfo

[R-sig-Geo] SPATSTAT: converting owin(mask) to owin (polygon) PART II

2009-06-30 Thread Alexandre VILLERS
ndow ... could be replaced by M <- levelset(wind1, 150, "<") Adrian Baddeley __ Information from ESET Mail Security, version of virus signature database 4199 (20090630) __ The message was checked by ESET Mail Security. http://www.eset.com -- Alexandre Villers

Re: [R-sig-Geo] spplot point coordinates

2009-06-30 Thread Paul Hiemstra
Hi Maxime, Just add the sp.layout argument as you would normally do. cheers, Paul Maxime Pauwels wrote: Dear Paul, This function looks very great! I work on a grid and it could be very useful. However, before clicking on the screen, I have to add a SpatialLinesDataFrame and a list of points

Re: [R-sig-Geo] spplot point coordinates

2009-06-30 Thread Maxime Pauwels
Dear Paul, This function looks very great! I work on a grid and it could be very useful. However, before clicking on the screen, I have to add a SpatialLinesDataFrame and a list of points on the spplot (previously using sp.layout). Is it possible with your function? Thank you Maxime Paul Hi

Re: [R-sig-Geo] spplot point coordinates

2009-06-30 Thread Barry Rowlingson
On Tue, Jun 30, 2009 at 1:33 PM, Maxime Pauwels wrote: > Dear all, > > I think there is a function in the sp package to get the coordinates of a > point on a sp plot (~equivalent to "locator"). > Could someone remember me its name? > spplot.locator would seem to be it! library(sp) ls("package:sp"

Re: [R-sig-Geo] spplot point coordinates

2009-06-30 Thread Paul Hiemstra
Hi Maxime, You need the grid.locator() function from the grid package in combination with the trellis.focus() command from the lattice pacakge. The following function I wrote has a syntax similar to spplot but allow the user to click screen. The output of the function is either a SpatialPoint

[R-sig-Geo] spplot point coordinates

2009-06-30 Thread Maxime Pauwels
Dear all, I think there is a function in the sp package to get the coordinates of a point on a sp plot (~equivalent to "locator"). Could someone remember me its name? Many thanks, max -- Maxime Pauwels Researcher ID: http://www.researcherid.com/rid/A-1745-2009 Laboratoire de Génétique et Ev

[R-sig-Geo] SPATSTAT: converting owin(mask) to owin (polygon)

2009-06-30 Thread Adrian.Baddeley
Alexandre VILLERS wrote: > I would like to create a new window for a point pattern in order to get > a tess object (dirichlet tessellation) from that same point pattern. > For the moment, here is an example of what I do: > PPP<- rpoispp(100) #generate a point pattern > wind1<-density(PPP, sigma