move (version 4.2.4)

move2ade: Convert a Move or MoveStack object to a SpatialPointsDataFrame

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

# S4 method for .MoveTrackSingle
move2ade(x)
  # S4 method for .MoveTrackStack
move2ade(x)

Value

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

Arguments

x

a move, moveStack or moveBurst object

Author

Marco Smolla & Anne Scharf

Details

There is also the possibility to convert between a ltraj object and a Move or MoveStack:
as(x,"ltraj") where "x" is a Move or MoveStack object
as(x,"Move") or as(x,"MoveStack") where "x" is a ltraj object

Examples

Run this code
  data(fishers)
  data(leroy)
  move2ade(leroy) ## for a Move object  
  move2ade(fishers) ## for a MoveStack object  

Run the code above in your browser using DataLab