# NOT RUN {
# typical usage
flametree_grow(trees = 5, time = 8) %>%
flametree_plot(style = "voronoi") %>%
flametree_save(filename = "~/Desktop/myfile.png")
# passing additional arguments to ggsave()
flametree_grow(trees = 5, time = 8) %>%
flametree_plot(style = "voronoi") %>%
flametree_save(
filename = "~/Desktop/myfile.png",
height = 8,
width = 8
)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab