View source: R/concentrationProfile.R
ridges.conProfile | R Documentation |
distrProfile
objectsRidgeline plots for distrProfile
objects
## S3 method for class 'conProfile'
ridges(x, session = NULL, what = NULL, smooth = FALSE, ...)
x |
An object of class |
session |
A numeric vector of the sessions to be plotted, defaults to all sessions. |
what |
Which variables should be plotted? Defaults to all
variables in |
smooth |
Logical. Should unsmoothed profiles be smoothed before plotting? |
... |
Further arguments to be passed to
|
## Not run:
data('runs', package = 'trackeR')
dProfile <- distributionProfile(runs, what = c('speed', 'heart_rate'))
cProfile <- concentrationProfile(dProfile)
ridges(cProfile, what = "speed")
ridges(cProfile, what = "heart_rate")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.