distance: distance information from a track or track stack

Description Usage Arguments Value Author(s) Examples

Description

DistanceSummary returns a summary of distance related measurements of a track or track stack, or for the distance function the distance between locations.

Usage

1
2
3
4
5
6
7
8
  ## S4 method for signature '.MoveTrackSingle,missing'
distance(x)
  ## S4 method for signature '.MoveTrackStack,missing'
distance(x)
  ## S4 method for signature '.MoveTrackSingle'
distanceSummary(x)
  ## S4 method for signature '.MoveTrackStack'
distanceSummary(x)

Arguments

x

Move or MoveStack object

Value

All values are returned in meters if the projection of the coordinates is longlat, otherwise their in map units mostly meters as well. For longlat distance on a sphere is calculated using the ellipsoid else on a plane using Pythagoras. Check and set the projection of your Move or MoveStack object using the proj4string() function.

Author(s)

Marco Smolla

Examples

1
2
3
4
5
6
  data(fishers)
  data(leroy)
  distance(leroy) #distances from a Move object 
  distance(fishers) #distances from a MoveStack object
  #distanceSummary(leroy) # summary of distance measures of a Move object
  #distanceSummary(fishers) # summary of distance measures of a MoveStack object


Search within the move package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.