image2video | R Documentation |
requires ffmpeg for video conversion: https://www.ffmpeg.org/
image2video(
folder = getwd(),
i.format = "png",
container = "mp4",
fps = 8,
last = 2,
loop = 0
)
folder |
folder with image sequence |
i.format |
image format (png, jpeg, pdf only working for gif conversion) |
container |
movie container: mp4, mov, avi, gif |
fps |
frames per second used |
last |
length of last frame in seconds |
loop |
loop gif (0=True,1=False) |
cex |
text size |
x<-sample(paste("group",LETTERS[1:5]),200,T)
ani.barplot(prop.table(table(x)),folder="ani.barplot",format="png")
image2video(folder="./ani.barplot",cont="mov",i.f="png")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.