Learn R Programming

move (version 4.2.5)

n.locs: 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 SpatialPointsDataFrame
n.locs(obj)
  # S4 method for .MoveTrackStack
n.locs(obj)

Value

number of locations.

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

Arguments

obj

a move, moveStack or moveBurst object

Author

Marco Smolla

Examples

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

Run the code above in your browser using DataLab