Learn R Programming

naniar (version 1.0.0)

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

Description

Shift (impute) numeric values for graphical exploration

Usage

# S3 method for 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