trackeR (version 1.5.2)

plot.trackeRdataSummary: Plot an object of class trackeRdataSummary.

Description

Plot an object of class trackeRdataSummary.

Usage

# S3 method for 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

Run this code
if (FALSE) {
data('runs', package = 'trackeR')
runSummary <- summary(runs)
plot(runSummary)
plot(runSummary, date = FALSE, group = 'total',
    what = c('distance', 'duration', 'avgSpeed'))
}

Run the code above in your browser using DataLab