# Load tnet library(tnet) # Load the Facebook-like online social network data(tnet) lnet <- OnlineSocialNetwork.n1899.lnet # Create the static network on June 30, 2004, at 7am net <- as.static.tnet(lnet[lnet[,"t"]<as.POSIXlt("2004-06-30 07:00:00"),]) # Calculate network measures, such as the global clustering coefficient clustering_w(net)
Kossinets, G., Watts, D. J., 2006. Empirical analysis of an evolving social network. Science 311, 88-90.
Opsahl, T., Hogan, B., 2011. Growth mechanisms in continuously-observed networks: Communication in a Facebook-like community. arXiv:1010.2141.
Panzarasa, P., Opsahl, T., Carley, K.M., 2009. Patterns and dynamics of users’ behavior and interaction: Network analysis of an online community. Journal of the American Society for Information Science and Technology 60 (5), 911-932.