Calculates the QSS for an extinction sequence
Source:R/calcExtinctionIndices.r
calc_QSS_extinctions_seq.RdThis functions calculates the QSS calc_QSS() for a sequence of incremental deletions of species (nodes)
given by the vector seq, it does not produce secondary extinctions
Value
data frame with the number of remaining nodes, the connectance, the number unconnected of components, the median QSS, and the name of the last deleted node.
Examples
if (FALSE) { # \dontrun{
g <- netData[[1]]
# Generate random weights
#
V(g)$weight <- runif(vcount(g))
# Without interaction strength
#
calc_QSS_extinctions_seq(g,V(g)$name[1:3],nsim=10,istrength = FALSE)
# With interaction strength
#
calc_QSS_extinctions_seq(g,V(g)$name[1:3],nsim=10,istrength = TRUE)
} # }