Learn R Programming

move (version 4.2.5)

namesIndiv: Extract the names of the individuals of a move or moveStack object

Description

This function returns the names of the individuals from a move or moveStack object.

Usage

namesIndiv(obj)

Value

Returns the name as a character for a move object, and the names as a character vector from a moveStack object.

If no name has been provided when creating the move object, "unnamed" will be returned.

Arguments

obj

a move or moveStack object

Author

Anne Scharf

Examples

Run this code
data(leroy)
namesIndiv(leroy) 

data(fishers)
namesIndiv(fishers)

Run the code above in your browser using DataLab