n.locs {move}R Documentation

Extract the number of locations of a Move or MoveStack object

Description

This function returns the number of locations of a track from a Move or MoveStack object.

Usage

  ## S4 method for signature 'SpatialPointsDataFrame'
n.locs(obj)
  ## S4 method for signature '.MoveTrackStack'
n.locs(obj)

Arguments

obj

a move, moveStack or moveBurst object

Value

number of locations.
If a MoveStack is provided, the number of locations per individual is returned.

Author(s)

Marco Smolla

Examples

data(leroy)
data(fishers)
n.locs(leroy) # of Move object
n.locs(fishers) # of MoveStack object

[Package move version 4.2.4 Index]