plot.trackeRdataSummary: Plot an object of class 'trackeRdataSummary'.

View source: R/trackeRdata_summary.R

plot.trackeRdataSummaryR Documentation

Plot an object of class trackeRdataSummary.

Description

Plot an object of class trackeRdataSummary.

Usage

## S3 method for class 'trackeRdataSummary'
plot(x, date = TRUE, what = NULL, group = NULL, trend = TRUE, ...)

Arguments

x

An object of class trackeRdataSummary.

date

Should the date or the session number be used on the abscissa?

what

Name of variables which should be plotted. Default is all. A vector with at least one of "distance", "duration", "avgSpeed", "avgPace", "avgCadenceRunning", "avgCadenceCycling", "avgAltitude", "avgPower", "avgHeartRate", "avgTemperature", "wrRatio", "total_elevation_gain", and NULL, in which case all variables are plotted.

group

Which group of variables should be plotted? This can either be total or moving. Default is both.

trend

Should a smooth trend be plotted?

...

Currently not used.

See Also

summary.trackeRdata

Examples

## Not run: 
data('runs', package = 'trackeR')
runSummary <- summary(runs)
plot(runSummary)
plot(runSummary, date = FALSE, group = 'total',
    what = c('distance', 'duration', 'avgSpeed'))

## End(Not run)

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