Description Usage Arguments Value
View source: R/getNeighborhoodDf.r
A neighborhood of a point p, consists of all the points within a certain distance from p. For the given time series, the neighborhood data frame consists of each element of the time series, the previous and next elements, the magnitude of the first difference, the percent change of the first difference, and the sign of the change. The column, IS_TP, is a boolean that indicates whether or not a given element is a transition point.
1 | tsData.nhoodDf <- getNeighborhoodDf(tsData)
|
tsData |
A time series object. |
A data frame characterizing each time series element and the first difference
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.