smoother_control.trackeRdata: Auxiliary function for 'smoother.trackeRdata'. Typically used...

View source: R/trackeRdata_smoother.R

smoother_control.trackeRdataR Documentation

Auxiliary function for smoother.trackeRdata. Typically used to construct a control argument for smoother.trackeRdata.

Description

Auxiliary function for smoother.trackeRdata. Typically used to construct a control argument for smoother.trackeRdata.

Usage

smoother_control.trackeRdata(
  fun = "mean",
  width = 10,
  parallel = FALSE,
  what = c("speed", "heart_rate"),
  nsessions = NA,
  ...
)

smootherControl.trackeRdata(
  fun = "mean",
  width = 10,
  parallel = FALSE,
  what = c("speed", "heart_rate"),
  nsessions = NA,
  ...
)

Arguments

fun

The name of the function to be matched and used to aggregate/smooth the data.

width

The width of the window in which the raw observations get aggregated via function fun.

parallel

Logical. Should computation be carried out in parallel? If TRUE computation is performed in parallel using the backend provided to foreach. Default is FALSE.

what

Vector of the names of the variables which should be smoothed.

nsessions

Vector containing the number of session. Default corresponds to all sessions belonging to the same group. Used only internally.

...

Currently not used.

See Also

smoother.trackeRdata


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