Learn R Programming

trackeR (version 1.0.0)

smootherControl.trackeRdata: 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

smootherControl.trackeRdata(fun = "mean", width = 10, parallel = FALSE,
  cores = NULL, 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?

cores

Number of cores for parallel computing. If NULL, the number of cores is set to the value of options("corese") (on Windows) or options("mc.cores") (elsewhere), or, if the relevant option is unspecified, to half the number of cores detected.

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