Learn R Programming

wrMisc (version 1.15.3.1)

.bringToCtr: Bring most extreme to center

Description

This function aims to bring most extreme value to center

Usage

.bringToCtr(aa, ctr, ctrFa = 0.75)

Value

This function returns an adjusted numeric vector

Arguments

aa

(numeric) main input

ctr

(numeric) 'control'

ctrFa

(numeric <1) modulate amplitude of effect

See Also

Examples

Run this code
.bringToCtr(11:14, 9)

Run the code above in your browser using DataLab