change_units: Generic function for changing the units of measurement

Description Usage Arguments

Description

Generic function for changing the units of measurement

Usage

1
2
3
change_units(object, variable, unit, sport, ...)

changeUnits(object, variable, unit, sport, ...)

Arguments

object

The object of which the units of measurement are changed.

variable

A vector of variables whose units are to be changed.

unit

A vector with the units, corresponding to variable.

sport

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

...

Arguments to be passed to methods.


hfrick/trackeR documentation built on June 5, 2019, 4 p.m.