Nothing
headts <- function(x, n = 5, ...) {
if (n > dim(as.matrix(x))[1]) {
return(x)
} else {
return(window(x, start = start(x), end = start(x) + c(0, n - 1),
frequency=tsp(x)[3]))
}
}
tailts <- function(x, n = 5, ...) {
if (n > dim(as.matrix(x))[1]) {
return(x)
} else {
return(window(x, start = end(x) - c(0, n - 1), end = end(x),
frequency = tsp(x)[3]))
}
}
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.