context('Expose Stan models')
library(rstanlm)
library(rstan)
test_that("expose Stan functions", {
model <- stanmodels[['lm']]
message(class(model))
expose_stan_functions(model)
fib(9)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.