trackeRdata
objectChange the units of the variables in an trackeRdata
object
# S3 method for trackeRdata
change_units(object, variable, unit, sport, ...)
An object of class trackeRdata
.
A vector of variables whose units are to be changed.
A vector with the units, corresponding to variable
.
A vector of sports (amongst 'cycling'
,
'running'
, 'swimming'
) with each element
corresponding to variable
and unit
.
Arguments to be passed to methods.