Add a shadow and a shadow_shift column to a dataset
Shift the values and add a shadow column. It also respects the dplyr
verbs starts_with
, contains
, ends_with
, etc.
cast_shadow_shift(data, ...)
data |
data.frame |
... |
One or more unquoted variable names separated by commas. These
respect the dplyr verbs |
data.frame with the shadow and shadow_shift vars
airquality %>% cast_shadow_shift(Ozone,Temp) airquality %>% cast_shadow_shift(dplyr::contains("o"))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.