Convert a Move or MoveStack object to adehabitat compatible object

Share:

Description

Convert a Move or MoveStack object to adehabitat compatible object. This is necessary because Move and MoveStack objects are not inherited by the object class that is typically used by the adehabitat package. Therefore, the move2ade function allows to use functions of the adehabitatHR package with objects that were originally created with the Move package.

Usage

1
2
3
4
  ## S4 method for signature '.MoveTrackSingle'
move2ade(x)
  ## S4 method for signature '.MoveTrackStack'
move2ade(x)

Arguments

x

a Move or MoveStack object

Value

The returned object is from SpatialPointsDataFrame with the animal name (or 'unnamed') stored in the data slot of the SpatialPointsDataFrame.

Author(s)

Marco Smolla

Examples

1
2
3
4
  data(fishers)
  data(leroy)
  move2ade(leroy) #for a Move object
  move2ade(fishers) #for a MoveStack object

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.