Learn R Programming

move (version 3.2.2)

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 MovesStack object.

Usage

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

Examples

Run this code
# NOT RUN {
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