cluster_label_prop(graph, weights = NULL, initial = NULL, fixed = NULL)NANULL, every vertex will have a
different label at the beginning. Otherwise it must be a vector with an
entry for each vertex. Non-negative values denote different labels, negative
entries denote vertices without labels.cluster_label_prop returns a
communities object, please see the communities
manual page for details.From the abstract of the paper: 
communities for extracting the actual results.cluster_fast_greedy, cluster_walktrap and
cluster_spinglass for other community detection methods.
g <- sample_gnp(10, 5/10) %du% sample_gnp(9, 5/9)
  g <- add_edges(g, c(1, 12))
  cluster_label_prop(g)Run the code above in your browser using DataLab