smoother.trackeRdata: Smoother for 'trackeRdata' objects.

View source: R/trackeRdata_smoother.R

smoother.trackeRdataR Documentation

Smoother for trackeRdata objects.

Description

Smoother for trackeRdata objects.

Usage

## S3 method for class 'trackeRdata'
smoother(object, session = NULL, control = list(...), ...)

Arguments

object

An object of class trackeRdata.

session

The sessions to be smoothed. Default is all sessions.

control

A list of parameters for controlling the smoothing process. This is passed to smoother_control.trackeRdata.

...

Arguments to be used to form the default control argument if it is not supplied directly.

Value

An object of class trackeRdata.

See Also

smoother_control.trackeRdata

Examples

## 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)

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