as_tele_list: Coerce telemetry object to list

Description Usage Arguments Value

View source: R/1_ctmm_data.R

Description

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.

Usage

1

Arguments

tele

result from ctmm::as.telemetry()

Value

a list of telemetry objects, each named by animal name


francocarol/shiny_ctmm documentation built on March 17, 2020, 12:11 a.m.