n.locs: Extract the number of locations of a Move or MoveStack object

n.locsR 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

move documentation built on July 9, 2023, 6:09 p.m.