Description Usage Arguments Value
Build a network Builds a network from time series data using vector autoregression
1 | build_network(X, exogen)
|
X |
matrix with columns for species and each row is a time-ordered observation |
exogen |
matrix of exogenous variables with the same number of rows as |
A list with two elements. The first element is the graph
, an iGraph object. The second element is a length-3 list containing the adjacency matrix (adj_mat
), the p-values for that matrix (adj_mat_p
), and the vector autoregression model from vars::VAR
(var_mod
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.