ridges.distrProfile: Ridgeline plots for 'distrProfile' objects

Description Usage Arguments Examples

Description

Ridgeline plots for distrProfile objects

Usage

1
2
3
## S3 method for class 'distrProfile'
ridges(x, session = NULL, what = NULL,
  smooth = FALSE, ...)

Arguments

x

An object of class distrProfile as returned by distribution_profile.

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 object (what = NULL).

smooth

Logical. Should unsmoothed profiles be smoothed before plotting?

...

Further arguments to be passed to smoother_control.distrProfile.

Examples

1
2
3
4
5
6
7
8
## Not run: 

data('runs', package = 'trackeR')
dProfile <- distribution_profile(runs, what = c("speed", "heart_rate"))
ridges(dProfile)


## End(Not run)

trackeR documentation built on May 15, 2019, 5:04 p.m.