trans2pix: Convert a transect coordinate file with some waypoints separated by NA into a matrix with intermediate coordinates replacing NA.
Description
Convert a transect coordinate file with some waypoints separated by NA into a matrix with intermediate coordinates replacing NA.
Usage
trans2pix(vect)
Value
A matrix with the intermediate coordinates computed.
Arguments
vect
A two column matrix or data.frame
Details
If vect has more than two column the two first column only are read. This function computes the intermediate coordinates between two waypoints replacing NA values.