robustness | R Documentation |
Conducts species-removal robustness assessments on food webs
robustness(fw_to_attack, probs_of_fw, alpha1)
fw_to_attack |
Food web matrix to be attacked, a data frame. |
probs_of_fw |
Vector with the probability of attack to each node. |
alpha1 |
Percentage of secondary extinctions after a primary extinction. |
data(mg1) graph_list1 <- convert.to.graph.list(mg1) #Create a vector with the values for the Intentionality Index (I) i_index <- seq(from = 0, to = 1, by =0.01) i_index <- head(i_index,-1) fw1 <- graph_list1[[1]] prob_exp <- exponent.removal(fw1, i_index) r1 <- robustness(fw1, prob_exp, alpha1=50)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.