[R] sorting data according to different boundaries

SophiePlum sophie_renaut at yahoo.fr
Fri Jan 27 14:17:47 CET 2012


I have 1 data frame "Data" with my main data points  (red points: latitude,
longitude and other biological parameters) and 3 other data frames for each
blue line "front_x" (latitude, longitude).
I need to sort the data (red points) according to these lines of points, so
one file for each 4 different zones.

I suppose I need to do a for loop, and according to the latitude and the
longitude of each data point...

 Can someone help me to establish the code? 


http://r.789695.n4.nabble.com/file/n4333435/Data_front.png 

--
View this message in context: http://r.789695.n4.nabble.com/sorting-data-according-to-different-boundaries-tp4333435p4333435.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list