plot.conProfile: Plot concentration profiles.

View source: R/concentrationProfile.R

plot.conProfileR Documentation

Plot concentration profiles.

Description

Plot concentration profiles.

Usage

## S3 method for class 'conProfile'
plot(x, session = NULL, what = NULL, multiple = FALSE, smooth = FALSE, ...)

Arguments

x

An object of class conProfile as returned by concentration_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

data('runs', package = 'trackeR')
dProfile <- distributionProfile(runs, session = 1:3, what = 'speed',
                                grid = seq(0, 12.5, by = 0.05))
cProfile <- concentrationProfile(dProfile)
## Not run: 
plot(cProfile, smooth = FALSE)
plot(cProfile)

## End(Not run)

trackeR documentation built on May 29, 2024, 5:04 a.m.