thin_frame_rate: Thin the stored frame rate of a tracks object

Description Usage Arguments Value

View source: R/non-dplyr_verbs.R

Description

This function reduces the effective frame rate by dropping every n frame, recoding the frame variable in $tr, $soc and $group and adjusts the frame_rate parameter. Useful for reducing the size of a tracks object. Supply either n or new_frame_rate.

Usage

1
thin_frame_rate(tracks, n = NULL, new_frame_rate = NULL, drop = FALSE)

Arguments

tracks

Tracks object.

n

Thinning interval, every n frames is dropped.

new_frame_rate

New frame rate.

drop

When FALSE, an error will produced if data is found that was aggregated over frames. If TRUE, that data will be dropped.

Value

Tracks object.


Ax3man/trackr documentation built on Oct. 8, 2019, 10:53 p.m.