Learn R Programming

move (version 3.2.2)

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

Description

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

Usage

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

Examples

Run this code
# NOT RUN {
data(leroy)
n.indiv(leroy) 

data(fishers)
n.indiv(fishers)
# }

Run the code above in your browser using DataLab