Extract the timestamps of a Move or MoveStack object

Description

The timestamps method returns or sets the timestamps of a track from a Move or MovesStack object.

Usage

1
2
3
4
5
6
## S4 method for signature '.MoveTrackSingle'
timestamps(this)
## S4 method for signature '.MoveTrack'
timestamps(this)
## S4 replacement method for signature '.MoveTrack'
timestamps(this) <- value

Arguments

this

Move or MoveStack object

value

timestamps from class POSIXct

Author(s)

Marco Smolla

Examples

1
2
3
4
5
6
7
8
9
data(leroy)
data(fishers)
  
  timestamps(leroy) #get the timestamps from a Move object
  timestamps(fishers) #get the timestamps from a MoveStack object
  #change the timestamps and set it for a Move object
  timestamps(leroy) <- timestamps(leroy)+60 
  #change the timestamps and set it for a MoveStack object
  timestamps(fishers) <- timestamps(fishers)+60 

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