"specModel" <-
function(theta, model) {
if (model@specfun == "bspline") {
E <- calcEbspline(unlist(theta), model)
}
if (model@specfun == "gaus") {
E <- calcEhiergaus(theta, model@x2, model@nupow)
}
E
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.