Skip to contents

This function returns the number of individuals from a MoveStack object.

Usage

# S4 method for class 'Move'
n.indiv(obj)
  # S4 method for class '.MoveTrackStack'
n.indiv(obj)

Arguments

obj

a move or moveStack object

Value

Returns the number of individuals.
It will be always 1 for objects of the class Move

Author

Bart Kranstauber

Examples

data(leroy)
n.indiv(leroy) 
#> [1] 1

data(fishers)
n.indiv(fishers)
#> [1] 2