Skip to contents

Obtain the Id of the individual per location of a MoveStack or unUsedRecordsStack

Usage

# S4 method for class 'MoveStack'
trackId(x)

Arguments

x

a moveStack or .unUsedRecordsStack object

Value

Returns a factor indicating for each location to which individual it belongs.

Author

Bart Kranstauber

Examples

data(fishers)
head(trackId(fishers))
#> [1] Leroy Leroy Leroy Leroy Leroy Leroy
#> Levels: Leroy Ricky.T
head(trackId(unUsedRecords(fishers)))
#> Leroy1 Leroy2 Leroy3 Leroy4 Leroy5 Leroy6 
#>  Leroy  Leroy  Leroy  Leroy  Leroy  Leroy 
#> Levels: Leroy Ricky.T