[R] confine a dataframe with a polygon

Roger Bivand Roger.Bivand at nhh.no
Tue Apr 3 17:24:38 CEST 2007


On Tue, 3 Apr 2007, temiz wrote:

> hello
> 
> how can I confine a dataframe with a known polygon that is part of whole 
> data ?

Could I suggest following up this question on the R-sig-geo list? It is 
not clear what you want to do - are the rows in the data frame points 
which may lie inside or outside a polygon? If so, the overlay() methods in 
the sp package may be suitable.

> 
> regards
> 
> 

-- 
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