Learn R Programming

trackeR (version 0.0.3)

smootherControl.distrProfile: Auxiliary function for smoother.distrProfile. Typically used to construct a control argument for smoother.distrProfile.

Description

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

Usage

smootherControl.distrProfile(what = c("speed", "heart.rate"), k = 30, sp = NULL, parallel = FALSE, cores = NULL)

Arguments

what
Vector of the names of the variables which should be smoothed.
k
Number of knots.
sp
A vector of smoothing parameters passed on to scam.
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.