Description Usage Arguments Details Value Examples
Generate plots to effectively summarise a cycling dataset.
1 2 3 |
x |
a |
y |
numeric; plots to be created (see details). |
xvar |
character; name of the column to be plotted as the xvariable. |
xlab |
character; x axis label for bottom plot. |
xlim |
given in terms of |
CP |
a value for critical power annotation. |
laps |
logical; should laps be seperately coloured? |
breaks |
logical; should plot lines be broken when stationary? Will only
show when |
... |
graphical parameters, and/or arguments to be passed to or from other methods. |
The y
argument describes plot options such that:
plots W' balance (kJ).
plots power data (W).
plots an elevation profile (m).
These options can be combined to produce a stack of plots as desired.
a variable number of plots.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## Not run:
data(ridedata)
plot(ridedata, xvar = "timer.min")
plot(ridedata, xvar = "distance.km")
## With only two plots.
plot(ridedata, y = c(2, 1))
## Using xlim, note that title metrics adjust.
plot(ridedata, xvar = "timer.min", xlim = c(100, 150))
## Lap colouring.
data(intervaldata)
plot(intervaldata, xvar = "timer.min", laps = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.