concentration_profile | R Documentation |
Generic method for concentration profiles
concentration_profile(object, session = NULL, what = NULL, ...)
concentrationProfile(object, session = NULL, what = NULL, ...)
object |
An object of class |
session |
A numeric vector of the sessions to be used, defaults to all sessions. |
what |
The variables for which the distribution profiles
should be generated. Defaults to all variables in |
... |
Currently not used. |
concentration_profile.distrProfile concentration_profile.trackeRdata
## Not run:
## Compute conecntration profiles from distribution profiles
data('run', package = 'trackeR')
dProfile <- distributionProfile(run, what = 'speed', grid = seq(0, 12.5, by = 0.05))
cProfile <- concentrationProfile(dProfile)
plot(cProfile, smooth = FALSE)
plot(cProfile)
## And now directly from the 'trackeRdata' object, which is a
## considerably faster if all that is needed are the concentration
## profiles
cProfile <- concentrationProfile(runs, what = 'speed',
limits = list(speed = c(0, 12.5)))
plot(cProfile, smooth = FALSE)
ridges(cProfile)
plot(cProfile, smooth = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.