Nothing
na.stinterp <- function(object, ...) UseMethod("na.stinterp")
# interpolates object along along which defaults to time(object)
# along has to be numeric, is otherwise coerced
na.stinterp.default <- function(object, along = time(object), na.rm = TRUE, ...)
{
along <- as.numeric(along)
na.stinterp.0 <- function(y) {
na <- is.na(y)
if(all(!na)) return(y)
y[na] <- stinterp(along[!na], as.numeric(y[!na]), along[na], ...)$y
return(y)
}
object[] <- if (length(dim(object)) == 0) na.stinterp.0(object)
else apply(object, 2, na.stinterp.0)
if (na.rm) na.omit(object) else object
}
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.