Nothing
`wiggle.env` <-
function(x, y )
{
### givn an x,y signal, get the smoothed peaks
why = y-mean(y)
aa = peaks(why, span=3, do.pad = TRUE)
w = aa & why>0
smsp = smooth.spline( cbind(x[w], why[w]) , spar = 0.2)
return( smsp )
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.