Learn R Programming

move (version 1.0)

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

Description

The n.locs method returns the number of locations of a track from a Move or MovesStack object.

Usage

## S3 method for class 'SpatialPointsDataFrame':
n.locs(obj)
  ## S3 method for class '.MoveTrackStack':
n.locs(obj)

Arguments

obj
Move or MoveStack object

Examples

Run this code
load(system.file("extdata", "move.RData", package="move"), .GlobalEnv)
stack <- moveStack(list(leroy,leroy))

n.locs(ricky) #number of locations of Move object
n.locs(stack) #number of locations of MoveStack object

Run the code above in your browser using DataLab