change_units {trackeR}R Documentation

Generic function for changing the units of measurement

Description

Generic function for changing the units of measurement

Usage

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 (among 'cycling', 'running', 'swimming') with each element corresponding to variable and unit.

...

Arguments to be passed to methods.


[Package trackeR version 1.6.0 Index]