View source: R/trackeRdata_smoother.R
smoother.trackeRdata | R Documentation |
trackeRdata
objects.Smoother for trackeRdata
objects.
## S3 method for class 'trackeRdata'
smoother(object, session = NULL, control = list(...), ...)
object |
An object of class |
session |
The sessions to be smoothed. Default is all sessions. |
control |
A list of parameters for controlling the smoothing
process. This is passed to |
... |
Arguments to be used to form the default |
An object of class trackeRdata
.
smoother_control.trackeRdata
## Not run:
data('run', package = 'trackeR')
## unsmoothed speeds
plot(run, smooth = FALSE)
## default smoothing
plot(run, smooth = TRUE)
## smoothed with some non-default options
runS <- smoother(run, fun = 'median', width = 20, what = 'speed')
plot(runS, smooth = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.