compute_mvd | R Documentation |
compute_mvd
Compute multiview distance
compute_mvd(
block_mvd,
effect_var,
E,
tp = 1,
lib = c(1, nrow(block_mvd)),
pred = lib,
make_block_method = "naive",
make_block_max_lag = E,
n_ssr = 10000,
k = floor(sqrt(n_ssr)),
random_seed = 1234,
distance_only = TRUE,
silent = FALSE
)
block_mvd |
Data.frame contains time series data. The first column should be the target column. |
effect_var |
Character or Numeric. Column name or index of the effect variable. |
E |
Numeric. Optimal embedding dimension of |
tp |
Numeric. Forecasting time ahead. |
lib |
Numeric vector. Library indices. |
pred |
Numeric vector. Prediction indices. |
make_block_method |
Character. If |
make_block_max_lag |
Numeric. |
n_ssr |
Numeric. The total number of embeddings examined. |
k |
Numeric. The number of embeddings used to calculate ensemble distance. |
random_seed |
Numeric. Random seed. |
distance_only |
Logical. if |
silent |
Logical. if |
Chang et al. (2021) Ecology Letters. https://doi.org/10.1111/ele.13897
A distance matrix and other information (if distance_only = FALSE
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.