trackeR (version 1.5.2)

collect_units: Collect units from the result of generate_units

Description

Collects the units from the results of generate_units according to a unit_reference_sport

Usage

collect_units(object, unit_reference_sport = NULL)

Arguments

object

a data.frame, as returned by generate_units

unit_reference_sport

The sport to inherit units from (default is taken to be the most frequent sport in object).