rescale_centered: centered rescaling

View source: R/dplyr_extensions.R

rescale_centeredR Documentation

centered rescaling

Description

symmetrically scales a variable up or down, maintaining the center of the scale

Usage

rescale_centered(x, scale = 0.999)

Arguments

x

numerical vector

scale

rescale factor

Value

numerical vector

Author(s)

Martin Schmettow


schmettow/bayr documentation built on March 23, 2024, 7:49 p.m.