Closed njtierney closed 5 years ago
closes #92
vis_value
is now in the vis-value branch
Here is some example code to animate through arranging each of the columns
library(magick)
library(tidyverse)
library(visdat)
d1 <- airquality %>% arrange(Day)
d2 <- airquality %>% arrange(Month)
d3 <- airquality %>% arrange(Ozone)
d4 <- airquality %>% arrange(Solar.R)
d5 <- airquality %>% arrange(Temp)
d6 <- airquality %>% arrange(Wind)
df_list <- list(d1, d2, d3, d4, d5, d6)
print_vis <- map(df_list, vis_value)
print_vis
img <- image_graph(600, 340, res = 96)
print_vis
dev.off()
animation <- image_animate(img, fps = 1)
print(animation)
This could look something like the following:
Created on 2018-11-04 by the reprex package (v0.2.1)