Message-ID: <8b5938320901191313w59ac91bdja420a828688c2ce0@mail.gmail.com>
Date: 2009-01-19T21:13:33Z
From: Volkan Kepoglu
Subject: [R-gui] conversion from tessellation in spatstat package to sp classes ???
is there any way to convert from tessellation to sp classes like
SpatialLines or SpatialPolygons?
library(spatstat)
library(maptools)
x <- runifpoint(42)
t <- dirichlet(x)
plot(t)
plot(x, add=TRUE)
sp <- as(t, "SpatialPolygons")
Error in .classEnv(thisClass) :
unable to find an environment containing class "tess"
any other suggestion?