pl.removal | R Documentation |
Computes de probability of removal of each node in the food web base on a power-law function
pl.removal(fw, i_index)
fw |
Food web matrix to be attacked, a data frame. |
i_index |
Parameter, between 0 and 1 defining the probability of attacking hubs. |
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_pl <- pl.removal(fw1, i_index)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.