auto_sum_full_cpp | R Documentation |
Computes the cumulative auto sum of autodistances of two time series. The output value is used as normalization factor when computing dissimilarity scores.
auto_sum_full_cpp(x, y, distance = "euclidean")
x |
(required, numeric matrix) univariate or multivariate time series. |
y |
(required, numeric matrix) univariate or multivariate time series with the same number of columns as 'x'. |
distance |
(optional, character string) distance name from the "names"
column of the dataset |
numeric
Other Rcpp_auto_sum:
auto_distance_cpp()
,
auto_sum_cpp()
,
auto_sum_path_cpp()
,
subset_matrix_by_rows_cpp()
#simulate two time series
x <- zoo_simulate(seed = 1)
y <- zoo_simulate(seed = 2)
#auto sum
auto_sum_full_cpp(
x = x,
y = y,
distance = "euclidean"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.