s_map_mdr | R Documentation |
s_map_mdr
performs MDR S-map introduced in Chang et al. (2021) Ecology Letters.
s_map_mdr(
block_mvd,
dist_w,
lib = c(1, nrow(block_mvd)),
pred = lib,
tp = 1,
theta = 8,
weight_method = "sqrt",
regularized = FALSE,
lambda = 0,
alpha = 0,
glmnet_parallel = FALSE,
save_smap_coefficients = FALSE,
random_seed = 1234
)
block_mvd |
Data.frame contains time series data. The first column should be the target column. |
dist_w |
Matrix. Multiview disntance matrix. Usually this is the output of |
lib |
Numeric vector. Library indices. |
pred |
Numeric vector. Prediction indices. |
tp |
Numeric. Forecasting time ahead. |
theta |
Numeric. Weighing function for S-map. |
weight_method |
Specify weighing method for |
regularized |
Logical If |
lambda |
Numeric. Specify the strength of penalty in the regularization. |
alpha |
Numeric. |
glmnet_parallel |
Logical. If TRUE, the computation will be parallel (currently, experimental). |
save_smap_coefficients |
Logical. If |
random_seed |
Numeric. Random seed. |
Chang, C.-W., Miki, T., Ushio, M., Ke, P.-J., Lu, H.-P., Shiah, F.-K. & et al. (2021) Reconstructing large interaction networks from empirical time series data. Ecology Letters, 24, 2763– 2774. https://doi.org/10.1111/ele.13897
A list that contains predictions, statistics, and S-map coefficients (if save_smap_coefficients = TRUE
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.