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

LISTING 5.

LISTING 5

Code to thin data by aggregation in atlastools. The method can be either ‘aggregate’ or ‘subsample’. The time interval is specified in seconds, while the id_columns allows a character vector of column names to be passed to the function, with these columns used as identity variables. Both methods return a dataset with one rows per time‐interval