
Last chance! 50% off unlimited learning
Sale ends in
# NOT RUN {
g <- make_star(10)
E(g)$weight <- seq(ecount(g))
strength(g)
strength(g, mode="out")
strength(g, mode="in")
# No weights, a warning is given
g <- make_ring(10)
strength(g)
# }
Run the code above in your browser using DataLab