Learn R Programming

distantia (version 2.0.0)

utils_global_scaling_params: Global Centering and Scaling Parameters of Time Series Lists

Description

Internal function to compute global scaling parameters (mean and standard deviation) for time series lists. Used within tsl_transform() when the scaling function f_scale_global() is used as input for the argument f.

Warning: this function removes exclusive columns from the data. See function tsl_subset().

Usage

utils_global_scaling_params(tsl = NULL, f = NULL, ...)

Value

list

Arguments

tsl

(required, list) Time series list. Default: NULL

f

(required, function) function f_scale_global(). Default: NULL

...

(optional, arguments of f) Optional arguments for the transformation function.

See Also

Other tsl_processing_internal: utils_drop_geometry(), utils_optimize_loess(), utils_optimize_spline(), utils_rescale_vector()