powered by
distrProfile
Ridgeline plots for distrProfile objects
# S3 method for distrProfile ridges(x, session = NULL, what = NULL, smooth = FALSE, ...)
An object of class distrProfile as returned by distribution_profile.
distribution_profile
A numeric vector of the sessions to be plotted, defaults to all sessions.
Which variables should be plotted? Defaults to all variables in object (what = NULL).
object
what = NULL
Logical. Should unsmoothed profiles be smoothed before plotting?
Further arguments to be passed to smoother_control.distrProfile.
smoother_control.distrProfile
if (FALSE) { data('runs', package = 'trackeR') dProfile <- distribution_profile(runs, what = c("speed", "heart_rate")) ridges(dProfile) }
Run the code above in your browser using DataLab