Description Usage Arguments Value
View source: R/risk_transimission.r
modeling the risk transmission of the trade network
1 2 3 4 5 6 7 8 9 10 |
net |
a tidygraph object |
mode |
two different supply shock scenario |
n_id |
the initial shocked node id |
e_id |
the initial shocked edge id |
alpha |
the threshold above which the infected nodes during the transmission process will change into active state, the default is 0.1, if it is NULL, the alpha value for each country will be scaled to [alpha_lower_limit,1] based on the export value or the degree of each country. |
alpha_lower_limit |
the lower limit of the alpha value range when alpha=NULL. |
alpha_increase_type |
export or degree, in the mitigate scenario, export means we will increase the alpha according to the export volume, degree means the alpha parameter will increase according to the node degree |
return_net |
whether return the final network structure or not |
the active node size for each iteration
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.