To install the development version of the samplesize package, it is easiest to use the devtools package:
install.packages("devtools") # if needed..
devtools::install_github("shearer/samplesize")
library(samplesize)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.