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


trackeR documentation built on May 29, 2024, 5:04 a.m.