Obfuscate numeric values
obfuscate_numeric.Rd
Normalize to interval [-1, 1]
and add noise. Same values are mapped to same values after obfuscation.
obfuscate_numeric(x, abs = 0, rel = 0.1)
Arguments
x | vector of numeric values |
---|---|
abs | absolute noise on interval |
rel | relative noise |
Value
numeric vector of the same length as x