shadow_shift.numeric: Shift (impute) numeric values for graphical exploration

View source: R/shadow-shifters.R

shadow_shift.numericR Documentation

Shift (impute) numeric values for graphical exploration

Description

Shift (impute) numeric values for graphical exploration

Usage

## S3 method for class 'numeric'
shadow_shift(
  x,
  prop_below = 0.1,
  jitter = 0.05,
  seed_shift = 2017 - 7 - 1 - 1850,
  ...
)

Arguments

x

a variable of interest to shift

prop_below

the degree to shift the values. default is

jitter

the amount of jitter to add. default is 0.05

seed_shift

a random seed to set, if you like

...

extra arguments to pass


naniar documentation built on Feb. 16, 2023, 5:11 p.m.