sketch
Creates interactive illustrations embeddable in R Markdown documents. The package compiles R code into JavaScript code by applying rewriting rules to the R AST. This allows users to develop JS-style visualisations using only the R syntax.
# Stable version on CRAN install.packages("sketch") # For the development version # install.packages("remotes") remotes::install_github("kcf-jackson/sketch")
Visit the website for getting-started guide, tutorials and other documentation!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.