[R] any good way to convert sp class objects to splancs object

Roger Bivand Roger.Bivand at nhh.no
Wed Oct 25 21:02:36 CEST 2006


On Wed, 25 Oct 2006, Dylan Beaudette wrote:

> Greetings:
> 
> are there any simple ways to convert an sp class object to a splancs ppp
> class object, outside of reading the coordinates and computing a
> bounding box?

Aren't ppp class objects from the spatstat package? Have you tried the 
spspatstat wrapper package on the R-spatial sourceforge repository? The 
as() coerce method should get you there.

If you really mean splancs, there are not wrappers yet, but are on their 
way.

(Consider posting on R-sig-geo for specific questions like this).

Roger

> 
> cheers,
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Helleveien 30, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
e-mail: Roger.Bivand at nhh.no



More information about the R-help mailing list