R/euclidean.compx.f.R

Defines functions euclidean.compx.f

Documented in euclidean.compx.f

 

 
euclidean.compx.f <- function(modsite, fossite){ 
 
#modsite is a two element vector containing the x and y coordinate for the modern pollen site
#fossite is a two element vector containing the x and y coordinate for the fossil pollen site
# Updated by Steven Mosher  July 23, 2012
        return(fossite[1] - modsite[1]) 
        #get the x-component of the vector (length in x in xy units)
  }

Try the MATTOOLS package in your browser

Any scripts or data that you put into this service are public.

MATTOOLS documentation built on May 2, 2019, 2:11 a.m.