Last chance! 50% off unlimited learning
Sale ends in
Shadow shift missing values using only the selected variables in a dataset,
by specifying variable names or use dplyr vars
and dplyr verbs
starts_with
, contains
, ends_with
, etc.
add_shadow_shift(data, ..., suffix = "shift")
data.frame
One or more unquoted variable names separated by commas. These also
respect the dplyr verbs starts_with
, contains
, ends_with
, etc.
suffix to add to variable, defaults to "shift"
data with the added variable shifted named as var_suffix
bind_shadow()
add_any_miss()
add_label_missings()
add_label_shadow()
add_miss_cluster()
add_n_miss()
add_prop_miss()
add_shadow_shift()
cast_shadow()
# NOT RUN {
airquality %>% add_shadow_shift(Ozone, Solar.R)
# }
Run the code above in your browser using DataLab