change_units.trackeRthresholds: Change the units of the variables in an 'trackeRthresholds'...

View source: R/thresholds.R

change_units.trackeRthresholdsR Documentation

Change the units of the variables in an trackeRthresholds object

Description

Change the units of the variables in an trackeRthresholds object

Usage

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

Arguments

object

An object of class trackeRthresholds.

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.


trackeR documentation built on May 29, 2024, 5:04 a.m.