change_units.trackeRdata: Change the units of the variables in an 'trackeRdata' object

View source: R/trackeRdata.R

change_units.trackeRdataR Documentation

Change the units of the variables in an trackeRdata object

Description

Change the units of the variables in an trackeRdata object

Usage

## S3 method for class 'trackeRdata'
change_units(object, variable, unit, sport, ...)

Arguments

object

An object of class trackeRdata.

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.


hfrick/trackeR documentation built on Feb. 3, 2024, 2:30 p.m.