Skip to main content
. 2021 Nov 16;91(2):287–307. doi: 10.1111/1365-2656.13610

LISTING 6.

LISTING 6

The atl_res_patch function can be used to classify a track into residence patches. The arguments buffer_radius and lim_spat_indep are specified in metres, while the lim_time_indep is provided in minutes. In this example, specifying summary_variables = c(“speed”), and summary_functions = c(“mean”, “sd”) will provide the mean and standard deviation of instantaneous speed in each residence patch. The atl_patch_summary function is used to access the classified patch in one of three ways, here using the summary option which returns a table of patch‐wise summary statistics