ctmm::as.telemetry() will return single telemetry object instead of a list when there is only one animal in data. To make code consistent we always work with a list of telemetry objects. Either use drop = FALSE in ctmm::as.telemetry() or apply this function over ctmm::as.telemetry() result to ensure a proper list.

as_tele_list(tele)

Arguments

tele

result from ctmm::as.telemetry()

Value

a list of telemetry objects, each named by animal name