Description Usage Arguments Examples
lory.js is a very nice dependency-free slider javascript library. With loryR
we can incorporate our R plots easily into HTML and R markdown.
1 2 |
images |
|
images_per_page |
|
options |
|
width |
a valid |
height |
a valid |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## Not run:
library(loryR)
# make some sample plots
plot(1:10,col="red")
contour(volcano)
lattice::xyplot(x~0:90, data.frame(x=cos(0:90/90)))
# if in RStudio we can get a gallery of our plots
images <- rstudio_gallery()
loryR(images, images_per_page = 2, width = "90%", options = list(rewind=T))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.