CreateTrueMean = function(tt,optns){
# old mu_true
tt[!(tt >= 0 & tt <= optns)] = 0
mu = (tt+sin(tt))
return(mu[!is.na(mu)])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.