plot.distrProfile: Plot distribution profiles.

Description Usage Arguments Examples

Description

Plot distribution profiles.

Usage

1
2
3
## S3 method for class 'distrProfile'
plot(x, session = NULL, what = NULL,
  multiple = FALSE, 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).

multiple

Logical. Should all sessions be plotted in one panel?

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
9
## Not run: 
data('runs', package = 'trackeR')
dProfile <- distribution_profile(runs, session = 1:2,
    what = "speed", grid = seq(0, 12.5, by = 0.05))
plot(dProfile, smooth = FALSE)
plot(dProfile, smooth = FALSE, multiple = TRUE)
plot(dProfile, multiple = TRUE)

## End(Not run)

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