Add a shadow column and a shadow shifted column to a dataset
Shift the values, add shadow, add missing label
cast_shadow_shift_label(data, ...)
data |
data.frame |
... |
One or more unquoted expressions separated by commas. These also respect the dplyr verbs "starts_with", "contains", "ends_with", etc. |
data.frame with the shadow and shadow_shift vars, and missing labels
airquality %>% cast_shadow_shift_label(Ozone, Solar.R)
# replicate the plot generated by geom_miss_point()
## Not run:
library(ggplot2)
airquality %>%
cast_shadow_shift_label(Ozone,Solar.R) %>%
ggplot(aes(x = Ozone_shift,
y = Solar.R_shift,
colour = any_missing)) +
geom_point()
## End(Not run)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.