Wraps base::scale() for global centering with tsl_transform().
See also
Other tsl_transformation:
f_detrend_difference(),
f_detrend_linear(),
f_hellinger(),
f_list(),
f_pca(),
f_percentage(),
f_proportion(),
f_rescale(),
f_scale(),
f_scale_global(),
f_slope(),
f_smooth_window(),
f_trend_linear()
Examples
x <- zoo_simulate()
y <- f_center(
  x = x
)
if(interactive()){
  zoo_plot(x)
  zoo_plot(y)
}
