# myfile.R
#* @get /mean
normalMean <- function(samples=10) {
data <- rnorm(samples)
mean(data)
}
#* @post /sum
addTwo <- function(a, b) {
as.numeric(a) + as.numeric(b)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.