animatedGIF: Create an animated gif to be used for embedding in a Markdown...

Description Usage Arguments Value See Also

View source: R/Rmdanimation.R

Description

Create an animated gif to be used for embedding in a Markdown file

Usage

1
animatedGIF(expr, filename, title = filename, allowHTML = TRUE, ...)

Arguments

expr

an R expression to be evaluated to create a sequence of images

filename

unique filename to be used for the saved image file (without extension)

title

animation title, used as Alt text

allowHTML

logical: if TRUE (the default), decorate the return value with some HTML to allow basic navigation/restarting of the animation on click

...

other arguments passed to ani.options

Value

a Markdown/HTML snippet that can be used to embed the generated animation

See Also

saveGIF


kevinstadler/Rmdanimation documentation built on May 20, 2019, 9:08 a.m.