Re: [R] confine a dataframe with a polygon

From: Roger Bivand <>
Date: Tue 03 Apr 2007 - 15:24:38 GMT

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

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed Apr 04 01:30:04 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 04 Apr 2007 - 07:30:54 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.