envelope | R Documentation |
This function implement the algorithm to optain neighbourhoods as in the paper.
envelope(data, focal, distance, plot)
data |
a fts or fds object see R package rainbow or ftsa. |
focal |
the name of the curve to envelope. In the article, the most recent curve. |
distance |
a character string naming the distance. Available options are "supremum" and "l2". |
plot |
if plotting the selected curves in the different iterations of the algorithm. |
a list containing the selected curves.
data(sinedata) focal <- '1' resultsBand <- envelope(sinedata, focal, distance = "l2", plot = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.