Re: [R] minimum distances

2008-03-20 Thread Ben Bolker
Dave Depew sciborg.uwaterloo.ca> writes: > > Hi, > I have a question about computing shortest Euclidean distances between > two data frames of spatial points... > > I have 2 dataframes (not yet converted to spatial class) > > >Sewers<-data.frame(x=c(10,20,35,50),y=c(100,150,200,300)) > >tr

[R] minimum distances

2008-03-20 Thread Dave Depew
Hi, I have a question about computing shortest Euclidean distances between two data frames of spatial points... I have 2 dataframes (not yet converted to spatial class) >Sewers<-data.frame(x=c(10,20,35,50),y=c(100,150,200,300)) >transect <- data.frame(x=seq(from=0, to=50, by=1),y=seq(from=100