library(AnalysisPageServer) setup.APS.knitr()
embed.APS.dataset({ plot(iris$Sepal.Length, iris$Sepal.Width, xlab = "Sepal Length", ylab = "Sepal Width", col = adjustcolor(as.integer(iris$Species), 0.6), pch = 19) legend("topright", levels(iris$Species), pch = 19, col = 1:3) }, df = iris, show.xy = TRUE)
This variable was pass through the environment (should say "foo"):
* passedVar
: r passedVar
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.