updateVariableParameters = function(variable, data){
variable$beta = variable$routines$sampleParameters$run(data = data, variable$beta)
return(variable)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.