LuZ.immersion.factor <- function(waves) {
data(LuZ.immersion.factor)
return(spline(df$waves, df$immersion, xout=waves, method = "natural")$y)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.