collect_units: Collect units from the result of 'generate_units'

View source: R/helpers.R

collect_unitsR Documentation

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).


trackerproject/trackeR documentation built on Jan. 14, 2024, 11:42 p.m.