#' @importFrom RJSONIO toJSON
saveResults <- function(fitResults, objectName) {
write(toJSON(fitResults), paste(objectName, '.json', sep=''))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.