Nothing
Period_ts <- function(ts)
{
specvalues <- spec.pgram(ts, taper=0, log='no', plot = FALSE)
ind <- which.max(specvalues$spec)
dd <- specvalues$freq[ind]
return(1/dd)
}
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.