move (version 4.2.4)

n.indiv: Extract the number of individuals of a MoveStack

Description

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

Usage

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

Value

Returns the number of individuals.

It will be always 1 for objects of the class Move

Arguments

obj

a move or moveStack object

Author

Bart Kranstauber

Examples

Run this code
data(leroy)
n.indiv(leroy) 

data(fishers)
n.indiv(fishers)

Run the code above in your browser using DataLab