Skip to content
Prev 10879 / 29559 Next

Maptools as.SpatialPolygons.owin() behaves in a strange way ?

On Thu, 10 Feb 2011, Alexandre Villers wrote:

            
Only the S4 coercion method as() for signature "owin", "SpatialPolygons" 
is exported in the package namespace, not the underlying function. In 
other cases, initially only the function was exported, also as an S3 
method, but when the method was converted from S3 to S4, the exporting of 
the underlying functions was not supressed, but maybe should have been. 
These are idiosyncracies that happen, because the sp class/spatstat class 
interface have developed over time, rather than being planned in a single 
step.

Hope this clarifies,

Roger