linear.spline <-
function (marginal)
{
m = INLA:::inla.marginal.fix(marginal)
r = range(m$x)
return(list(range = r, fun = approxfun(m$x, log(m$y))))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.