#' Calculating Outsider
#'
#' @name outsider
#' @param igraph object
#' @return result
#' @author Yu Hatakeyama
#' @export
#'
outsider <- function(graph, community) {
com.sum <- table(community$membership)
result <- names(V(graph)[com.sum == 1])
return(result)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.