Description Usage Arguments Value Examples
View source: R/communicability_measures.R
The criticality of a vertex measures its impact
on its neighbors if it defaults. It is basically the rowSums
of the impact_matrix
.
1 2 3 4 5 6 | criticality(
exposures,
buffer,
binary = FALSE,
exposure_type = c("assets", "liabilities", "impact", "vulnerability")
)
|
exposures |
an adjacency |
buffer |
a numeric vector with the capital buffer for each vertex.
Values should be in the same row/column order as the network of bilateral exposures. The
buffer is not needed if |
binary |
if |
exposure_type |
character vector indicating the type of the bilateral exposures. It can be
an |
The function returns a (named) vector with the criticality for each vertex.
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.