generate_units: Generate and set base units.

Description Usage Arguments Details

Description

Generate and set base units.

Usage

1
2
3
generate_units(variable, unit, sport, ...)

generateBaseUnits(variable, unit, sport, ...)

Arguments

variable

A vector of variables with user-specified units.

unit

A vector with the user-specified units, corresponding to variable (see details).

sport

A vector of sports (amongst 'cycling', 'running', 'swimming') with each element corresponding to variable and unit.

...

Currently not used.

Details

The avaialble units are

Note that generate_units checks if the supplied combinations of variable and sport are valid. generate_units will not check if any of the supplied units are correct for the corresponding combination of variable and sport.


trackeR documentation built on May 15, 2019, 5:04 p.m.