Examples Written in R for Teaching from Network Science, by Albert-Laszlo Barabasi, Cambridge University Press, 2016