Nothing
extract.x <- function(data, xorder)
{
x = data$x
y = data$y
if (length(xorder) < 2) {
stop("xorder must be multiple x variable")
}
if (length(xorder) >= 2) {
index = vector(, length(xorder))
for (i in 1:length(xorder)) {
index[i] = which(as.numeric(rownames(y)) == xorder[i])
}
}
newdata = as.matrix(y[index, ])
newx = x[index]
ftsdata = fts(newx, newdata, start = as.numeric(rownames(y))[1], xname = data$xname, yname = data$yname)
rownames(ftsdata$y) = as.character(xorder)
class(ftsdata) = class(data)
return(ftsdata)
}
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.